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::CGContextHolder ( )
inline

Definition at line 82 of file CGHelpers.hxx.

CGContextHolder::CGContextHolder ( CGContextRef  pContext)
inline

Definition at line 87 of file CGHelpers.hxx.

Member Function Documentation

CGContextRef CGContextHolder::get ( ) const
inline

Definition at line 92 of file CGHelpers.hxx.

References mpContext.

bool CGContextHolder::isSet ( ) const
inline

Definition at line 94 of file CGHelpers.hxx.

void CGContextHolder::restoreState ( )
inline

Definition at line 100 of file CGHelpers.hxx.

void CGContextHolder::saveState ( )
inline

Definition at line 98 of file CGHelpers.hxx.

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

Definition at line 96 of file CGHelpers.hxx.

Member Data Documentation

CGContextRef CGContextHolder::mpContext
private

Definition at line 79 of file CGHelpers.hxx.

Referenced by get().


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