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

#include <CGHelpers.hxx>

Public Member Functions

 CGContextHolder ()
 
 CGContextHolder (CGContextRef pContext)
 
CGContextRef get () const
 
bool isSet () const
 
void set (CGContextRef const &pContext)
 
void saveState ()
 
void restoreState ()
 

Private Attributes

CGContextRef mpContext
 

Detailed Description

Definition at line 76 of file CGHelpers.hxx.

Constructor & Destructor Documentation

◆ CGContextHolder() [1/2]

CGContextHolder::CGContextHolder ( )
inline

Definition at line 82 of file CGHelpers.hxx.

◆ CGContextHolder() [2/2]

CGContextHolder::CGContextHolder ( CGContextRef  pContext)
inline

Definition at line 87 of file CGHelpers.hxx.

Member Function Documentation

◆ get()

CGContextRef CGContextHolder::get ( ) const
inline

Definition at line 92 of file CGHelpers.hxx.

References mpContext.

◆ isSet()

bool CGContextHolder::isSet ( ) const
inline

Definition at line 94 of file CGHelpers.hxx.

References mpContext.

◆ restoreState()

void CGContextHolder::restoreState ( )
inline

Definition at line 100 of file CGHelpers.hxx.

References mpContext.

◆ saveState()

void CGContextHolder::saveState ( )
inline

Definition at line 98 of file CGHelpers.hxx.

References mpContext.

◆ set()

void CGContextHolder::set ( CGContextRef const &  pContext)
inline

Definition at line 96 of file CGHelpers.hxx.

References mpContext.

Member Data Documentation

◆ mpContext

CGContextRef CGContextHolder::mpContext
private

Definition at line 79 of file CGHelpers.hxx.

Referenced by get(), isSet(), restoreState(), saveState(), and set().


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