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

#include <salvd.h>

Inheritance diagram for AquaSalVirtualDevice:
[legend]
Collaboration diagram for AquaSalVirtualDevice:
[legend]

Public Member Functions

 AquaSalVirtualDevice (AquaSalGraphics *pGraphic, tools::Long &nDX, tools::Long &nDY, DeviceFormat eFormat, const SystemGraphicsData *pData)
 
virtual ~AquaSalVirtualDevice () override
 
virtual SalGraphicsAcquireGraphics () override
 
virtual void ReleaseGraphics (SalGraphics *pGraphics) override
 
virtual bool SetSize (tools::Long nNewDX, tools::Long nNewDY) override
 
tools::Long GetWidth () const override
 
tools::Long GetHeight () const override
 
- Public Member Functions inherited from SalVirtualDevice
 SalVirtualDevice ()
 
virtual ~SalVirtualDevice () override
 
virtual bool IsOffScreen () const override
 
virtual SalGraphicsAcquireGraphics ()=0
 
virtual void ReleaseGraphics (SalGraphics *pGraphics)=0
 
virtual bool SetSize (tools::Long nNewDX, tools::Long nNewDY)=0
 
virtual bool SetSizeUsingBuffer (tools::Long nNewDX, tools::Long nNewDY, sal_uInt8 *)
 
- Public Member Functions inherited from SalGeometryProvider
virtual ~SalGeometryProvider ()
 
virtual tools::Long GetWidth () const =0
 
virtual tools::Long GetHeight () const =0
 
virtual bool IsOffScreen () const =0
 

Private Member Functions

void Destroy ()
 

Private Attributes

bool mbGraphicsUsed
 
bool mbForeignContext
 
CGContextHolder maBitmapContext
 
int mnBitmapDepth
 
CGLayerHolder maLayer
 
AquaSalGraphicsmpGraphics
 
tools::Long mnWidth
 
tools::Long mnHeight
 

Detailed Description

Definition at line 39 of file quartz/salvd.h.

Constructor & Destructor Documentation

◆ AquaSalVirtualDevice()

AquaSalVirtualDevice::AquaSalVirtualDevice ( AquaSalGraphics pGraphic,
tools::Long nDX,
tools::Long nDY,
DeviceFormat  eFormat,
const SystemGraphicsData pData 
)

◆ ~AquaSalVirtualDevice()

virtual AquaSalVirtualDevice::~AquaSalVirtualDevice ( )
overridevirtual

Member Function Documentation

◆ AcquireGraphics()

virtual SalGraphics * AquaSalVirtualDevice::AcquireGraphics ( )
overridevirtual

Implements SalVirtualDevice.

◆ Destroy()

void AquaSalVirtualDevice::Destroy ( )
private

◆ GetHeight()

tools::Long AquaSalVirtualDevice::GetHeight ( ) const
inlineoverridevirtual

Implements SalGeometryProvider.

Definition at line 67 of file quartz/salvd.h.

References mnHeight.

◆ GetWidth()

tools::Long AquaSalVirtualDevice::GetWidth ( ) const
inlineoverridevirtual

Implements SalGeometryProvider.

Definition at line 62 of file quartz/salvd.h.

References mnWidth.

◆ ReleaseGraphics()

virtual void AquaSalVirtualDevice::ReleaseGraphics ( SalGraphics pGraphics)
overridevirtual

Implements SalVirtualDevice.

◆ SetSize()

virtual bool AquaSalVirtualDevice::SetSize ( tools::Long  nNewDX,
tools::Long  nNewDY 
)
overridevirtual

Implements SalVirtualDevice.

Member Data Documentation

◆ maBitmapContext

CGContextHolder AquaSalVirtualDevice::maBitmapContext
private

Definition at line 44 of file quartz/salvd.h.

◆ maLayer

CGLayerHolder AquaSalVirtualDevice::maLayer
private

Definition at line 46 of file quartz/salvd.h.

◆ mbForeignContext

bool AquaSalVirtualDevice::mbForeignContext
private

Definition at line 43 of file quartz/salvd.h.

◆ mbGraphicsUsed

bool AquaSalVirtualDevice::mbGraphicsUsed
private

Definition at line 42 of file quartz/salvd.h.

◆ mnBitmapDepth

int AquaSalVirtualDevice::mnBitmapDepth
private

Definition at line 45 of file quartz/salvd.h.

◆ mnHeight

tools::Long AquaSalVirtualDevice::mnHeight
private

Definition at line 50 of file quartz/salvd.h.

Referenced by GetHeight().

◆ mnWidth

tools::Long AquaSalVirtualDevice::mnWidth
private

Definition at line 49 of file quartz/salvd.h.

Referenced by GetWidth().

◆ mpGraphics

AquaSalGraphics* AquaSalVirtualDevice::mpGraphics
private

Definition at line 47 of file quartz/salvd.h.


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