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 () const
 
void setScale (float fScale)
 

Private Attributes

CGLayerRef mpLayer
 
float mfScale
 

Detailed Description

Definition at line 20 of file CGHelpers.hxx.

Constructor & Destructor Documentation

◆ CGLayerHolder() [1/2]

CGLayerHolder::CGLayerHolder ( )
inline

Definition at line 29 of file CGHelpers.hxx.

◆ CGLayerHolder() [2/2]

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

Definition at line 35 of file CGHelpers.hxx.

Member Function Documentation

◆ get()

CGLayerRef CGLayerHolder::get ( ) const
inline

Definition at line 65 of file CGHelpers.hxx.

References mpLayer.

◆ getScale()

float CGLayerHolder::getScale ( ) const
inline

Definition at line 71 of file CGHelpers.hxx.

References mfScale.

◆ getSizePixels()

CGSize CGLayerHolder::getSizePixels ( ) const
inline

Definition at line 42 of file CGHelpers.hxx.

References mpLayer.

Referenced by getSizePoints().

◆ getSizePoints()

CGSize CGLayerHolder::getSizePoints ( ) const
inline

Definition at line 53 of file CGHelpers.hxx.

References getSizePixels(), mfScale, and mpLayer.

◆ isSet()

bool CGLayerHolder::isSet ( ) const
inline

Definition at line 67 of file CGHelpers.hxx.

References mpLayer.

◆ set()

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

Definition at line 69 of file CGHelpers.hxx.

References mpLayer.

◆ setScale()

void CGLayerHolder::setScale ( float  fScale)
inline

Definition at line 73 of file CGHelpers.hxx.

References mfScale.

Member Data Documentation

◆ mfScale

float CGLayerHolder::mfScale
private

Definition at line 26 of file CGHelpers.hxx.

Referenced by getScale(), getSizePoints(), and setScale().

◆ mpLayer

CGLayerRef CGLayerHolder::mpLayer
private

Definition at line 23 of file CGHelpers.hxx.

Referenced by get(), getSizePixels(), getSizePoints(), isSet(), and set().


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