LibreOffice Module vcl (master)  1
Public Member Functions | Private Attributes | List of all members
CGLayerHolder Class Reference

#include <CGHelpers.hxx>

Public Member Functions

 CGLayerHolder ()
 
 CGLayerHolder (CGLayerRef pLayer, float fScale=1.0)
 
CGSize getSizePixels () const
 
CGSize getSizePoints () const
 
CGLayerRef get () const
 
bool isSet () const
 
void set (CGLayerRef const &pLayer)
 
float getScale ()
 
void setScale (float fScale)
 

Private Attributes

CGLayerRef mpLayer
 
float mfScale
 

Detailed Description

Definition at line 20 of file CGHelpers.hxx.

Constructor & Destructor Documentation

CGLayerHolder::CGLayerHolder ( )
inline

Definition at line 29 of file CGHelpers.hxx.

CGLayerHolder::CGLayerHolder ( CGLayerRef  pLayer,
float  fScale = 1.0 
)
inline

Definition at line 35 of file CGHelpers.hxx.

Member Function Documentation

CGLayerRef CGLayerHolder::get ( ) const
inline

Definition at line 65 of file CGHelpers.hxx.

References mpLayer.

float CGLayerHolder::getScale ( )
inline

Definition at line 71 of file CGHelpers.hxx.

References mfScale.

CGSize CGLayerHolder::getSizePixels ( ) const
inline

Definition at line 42 of file CGHelpers.hxx.

Referenced by getSizePoints().

CGSize CGLayerHolder::getSizePoints ( ) const
inline

Definition at line 53 of file CGHelpers.hxx.

References getSizePixels(), and mfScale.

bool CGLayerHolder::isSet ( ) const
inline

Definition at line 67 of file CGHelpers.hxx.

void CGLayerHolder::set ( CGLayerRef const &  pLayer)
inline

Definition at line 69 of file CGHelpers.hxx.

void CGLayerHolder::setScale ( float  fScale)
inline

Definition at line 73 of file CGHelpers.hxx.

Member Data Documentation

float CGLayerHolder::mfScale
private

Definition at line 26 of file CGHelpers.hxx.

Referenced by getScale(), and getSizePoints().

CGLayerRef CGLayerHolder::mpLayer
private

Definition at line 23 of file CGHelpers.hxx.

Referenced by get().


The documentation for this class was generated from the following file: