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

#include <salgdicommon.hxx>

Public Member Functions

 XorEmulation ()
 
 ~XorEmulation ()
 
void SetTarget (int nWidth, int nHeight, int nBitmapDepth, CGContextRef, CGLayerRef)
 
bool UpdateTarget ()
 
void Enable ()
 
void Disable ()
 
bool IsEnabled () const
 
CGContextRef GetTargetContext () const
 
CGContextRef GetMaskContext () const
 

Private Attributes

CGLayerRef m_xTargetLayer
 
CGContextRef m_xTargetContext
 
CGContextRef m_xMaskContext
 
CGContextRef m_xTempContext
 
sal_uLongm_pMaskBuffer
 
sal_uLongm_pTempBuffer
 
int m_nBufferLongs
 
bool m_bIsEnabled
 

Detailed Description

Definition at line 84 of file salgdicommon.hxx.

Constructor & Destructor Documentation

XorEmulation::XorEmulation ( )
XorEmulation::~XorEmulation ( )

Member Function Documentation

void XorEmulation::Disable ( )
inline

Definition at line 93 of file salgdicommon.hxx.

References m_bIsEnabled.

void XorEmulation::Enable ( )
inline

Definition at line 92 of file salgdicommon.hxx.

References m_bIsEnabled.

CGContextRef XorEmulation::GetMaskContext ( ) const
inline

Definition at line 96 of file salgdicommon.hxx.

References m_bIsEnabled, and m_xMaskContext.

CGContextRef XorEmulation::GetTargetContext ( ) const
inline

Definition at line 95 of file salgdicommon.hxx.

References m_xTargetContext.

bool XorEmulation::IsEnabled ( ) const
inline

Definition at line 94 of file salgdicommon.hxx.

References m_bIsEnabled.

void XorEmulation::SetTarget ( int  nWidth,
int  nHeight,
int  nBitmapDepth,
CGContextRef  ,
CGLayerRef   
)
bool XorEmulation::UpdateTarget ( )

Member Data Documentation

bool XorEmulation::m_bIsEnabled
private

Definition at line 106 of file salgdicommon.hxx.

Referenced by Disable(), Enable(), GetMaskContext(), and IsEnabled().

int XorEmulation::m_nBufferLongs
private

Definition at line 105 of file salgdicommon.hxx.

sal_uLong* XorEmulation::m_pMaskBuffer
private

Definition at line 103 of file salgdicommon.hxx.

sal_uLong* XorEmulation::m_pTempBuffer
private

Definition at line 104 of file salgdicommon.hxx.

CGContextRef XorEmulation::m_xMaskContext
private

Definition at line 101 of file salgdicommon.hxx.

Referenced by GetMaskContext().

CGContextRef XorEmulation::m_xTargetContext
private

Definition at line 100 of file salgdicommon.hxx.

Referenced by GetTargetContext().

CGLayerRef XorEmulation::m_xTargetLayer
private

Definition at line 99 of file salgdicommon.hxx.

CGContextRef XorEmulation::m_xTempContext
private

Definition at line 102 of file salgdicommon.hxx.


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