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 (cairo_surface_t *pRefSurface, cairo_surface_t *pPreExistingTarget)
 
virtual ~SvpSalVirtualDevice () override
 
virtual SalGraphicsAcquireGraphics () override
 
virtual void ReleaseGraphics (SalGraphics *pGraphics) override
 
virtual bool SetSize (tools::Long nNewDX, tools::Long nNewDY) override
 
virtual bool SetSizeUsingBuffer (tools::Long nNewDX, tools::Long nNewDY, sal_uInt8 *pBuffer) override
 
cairo_surface_tGetSurface () const
 
virtual tools::Long GetWidth () const override
 
virtual 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
 

Protected Member Functions

SvpSalGraphicsAddGraphics (SvpSalGraphics *aGraphics)
 

Private Member Functions

bool CreateSurface (tools::Long nNewDX, tools::Long nNewDY, sal_uInt8 *const pBuffer)
 

Private Attributes

cairo_surface_tm_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::SvpSalVirtualDevice ( cairo_surface_t pRefSurface,
cairo_surface_t pPreExistingTarget 
)

◆ ~SvpSalVirtualDevice()

virtual SvpSalVirtualDevice::~SvpSalVirtualDevice ( )
overridevirtual

Member Function Documentation

◆ AcquireGraphics()

virtual SalGraphics * SvpSalVirtualDevice::AcquireGraphics ( )
overridevirtual

Implements SalVirtualDevice.

◆ AddGraphics()

SvpSalGraphics * SvpSalVirtualDevice::AddGraphics ( SvpSalGraphics aGraphics)
protected

◆ CreateSurface()

bool SvpSalVirtualDevice::CreateSurface ( tools::Long  nNewDX,
tools::Long  nNewDY,
sal_uInt8 *const  pBuffer 
)
private

◆ GetHeight()

virtual tools::Long SvpSalVirtualDevice::GetHeight ( ) const
overridevirtual

Implements SalGeometryProvider.

◆ GetSurface()

cairo_surface_t * SvpSalVirtualDevice::GetSurface ( ) const
inline

Definition at line 58 of file svpvd.hxx.

◆ GetWidth()

virtual tools::Long SvpSalVirtualDevice::GetWidth ( ) const
overridevirtual

Implements SalGeometryProvider.

◆ ReleaseGraphics()

virtual void SvpSalVirtualDevice::ReleaseGraphics ( SalGraphics pGraphics)
overridevirtual

Implements SalVirtualDevice.

◆ SetSize()

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

Implements SalVirtualDevice.

◆ SetSizeUsingBuffer()

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

Reimplemented from SalVirtualDevice.

Member Data Documentation

◆ m_aFrameSize

basegfx::B2IVector SvpSalVirtualDevice::m_aFrameSize
private

Definition at line 37 of file svpvd.hxx.

◆ m_aGraphics

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

Definition at line 38 of file svpvd.hxx.

◆ m_bOwnsSurface

bool SvpSalVirtualDevice::m_bOwnsSurface
private

Definition at line 36 of file svpvd.hxx.

◆ m_pRefSurface

cairo_surface_t* SvpSalVirtualDevice::m_pRefSurface
private

Definition at line 34 of file svpvd.hxx.

◆ m_pSurface

cairo_surface_t* SvpSalVirtualDevice::m_pSurface
private

Definition at line 35 of file svpvd.hxx.


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