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

#include <svpvd.hxx>

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

Public Member Functions

 SvpSalVirtualDevice (DeviceFormat eFormat, cairo_surface_t *pRefSurface, cairo_surface_t *pPreExistingTarget)
 
virtual ~SvpSalVirtualDevice () override
 
virtual SalGraphicsAcquireGraphics () override
 
virtual void ReleaseGraphics (SalGraphics *pGraphics) override
 
virtual bool SetSize (long nNewDX, long nNewDY) override
 
virtual bool SetSizeUsingBuffer (long nNewDX, long nNewDY, sal_uInt8 *pBuffer) override
 
cairo_surface_tGetSurface () const
 
virtual long GetWidth () const override
 
virtual long GetHeight () const override
 
- Public Member Functions inherited from SalVirtualDevice
 SalVirtualDevice ()
 
virtual ~SalVirtualDevice () override
 
virtual bool IsOffScreen () const override
 
- Public Member Functions inherited from SalGeometryProvider
virtual ~SalGeometryProvider ()
 

Protected Member Functions

SvpSalGraphicsAddGraphics (SvpSalGraphics *aGraphics)
 

Private Member Functions

void CreateSurface (long nNewDX, long nNewDY, sal_uInt8 *const pBuffer)
 

Private Attributes

DeviceFormat const m_eFormat
 
cairo_surface_t *const m_pRefSurface
 
cairo_surface_tm_pSurface
 
bool m_bOwnsSurface
 
basegfx::B2IVector m_aFrameSize
 
std::vector< SvpSalGraphics * > m_aGraphics
 

Detailed Description

Definition at line 32 of file svpvd.hxx.

Constructor & Destructor Documentation

SvpSalVirtualDevice::SvpSalVirtualDevice ( DeviceFormat  eFormat,
cairo_surface_t pRefSurface,
cairo_surface_t pPreExistingTarget 
)
virtual SvpSalVirtualDevice::~SvpSalVirtualDevice ( )
overridevirtual

Member Function Documentation

virtual SalGraphics* SvpSalVirtualDevice::AcquireGraphics ( )
overridevirtual

Implements SalVirtualDevice.

SvpSalGraphics* SvpSalVirtualDevice::AddGraphics ( SvpSalGraphics aGraphics)
protected
void SvpSalVirtualDevice::CreateSurface ( long  nNewDX,
long  nNewDY,
sal_uInt8 *const  pBuffer 
)
private
virtual long SvpSalVirtualDevice::GetHeight ( ) const
overridevirtual

Implements SalGeometryProvider.

cairo_surface_t* SvpSalVirtualDevice::GetSurface ( ) const
inline

Definition at line 59 of file svpvd.hxx.

virtual long SvpSalVirtualDevice::GetWidth ( ) const
overridevirtual

Implements SalGeometryProvider.

virtual void SvpSalVirtualDevice::ReleaseGraphics ( SalGraphics pGraphics)
overridevirtual

Implements SalVirtualDevice.

virtual bool SvpSalVirtualDevice::SetSize ( long  nNewDX,
long  nNewDY 
)
overridevirtual

Implements SalVirtualDevice.

virtual bool SvpSalVirtualDevice::SetSizeUsingBuffer ( long  nNewDX,
long  nNewDY,
sal_uInt8 pBuffer 
)
overridevirtual

Reimplemented from SalVirtualDevice.

Member Data Documentation

basegfx::B2IVector SvpSalVirtualDevice::m_aFrameSize
private

Definition at line 38 of file svpvd.hxx.

std::vector< SvpSalGraphics* > SvpSalVirtualDevice::m_aGraphics
private

Definition at line 39 of file svpvd.hxx.

bool SvpSalVirtualDevice::m_bOwnsSurface
private

Definition at line 37 of file svpvd.hxx.

DeviceFormat const SvpSalVirtualDevice::m_eFormat
private

Definition at line 34 of file svpvd.hxx.

cairo_surface_t* const SvpSalVirtualDevice::m_pRefSurface
private

Definition at line 35 of file svpvd.hxx.

cairo_surface_t* SvpSalVirtualDevice::m_pSurface
private

Definition at line 36 of file svpvd.hxx.


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