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

#include <QtVirtualDevice.hxx>

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

Public Member Functions

 QtVirtualDevice (double fScale)
 
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
 
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
 

Private Attributes

std::vector< QtGraphics * > m_aGraphics
 
std::unique_ptr< QImage > m_pImage
 
QSize m_aFrameSize
 
double m_fScale
 

Detailed Description

Definition at line 33 of file qt5/QtVirtualDevice.hxx.

Constructor & Destructor Documentation

◆ QtVirtualDevice()

QtVirtualDevice::QtVirtualDevice ( double  fScale)

Member Function Documentation

◆ AcquireGraphics()

virtual SalGraphics * QtVirtualDevice::AcquireGraphics ( )
overridevirtual

Implements SalVirtualDevice.

◆ GetHeight()

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

Implements SalGeometryProvider.

◆ GetWidth()

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

Implements SalGeometryProvider.

◆ ReleaseGraphics()

virtual void QtVirtualDevice::ReleaseGraphics ( SalGraphics pGraphics)
overridevirtual

Implements SalVirtualDevice.

◆ SetSize()

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

Implements SalVirtualDevice.

◆ SetSizeUsingBuffer()

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

Reimplemented from SalVirtualDevice.

Member Data Documentation

◆ m_aFrameSize

QSize QtVirtualDevice::m_aFrameSize
private

Definition at line 37 of file qt5/QtVirtualDevice.hxx.

◆ m_aGraphics

std::vector<QtGraphics*> QtVirtualDevice::m_aGraphics
private

Definition at line 35 of file qt5/QtVirtualDevice.hxx.

◆ m_fScale

double QtVirtualDevice::m_fScale
private

Definition at line 38 of file qt5/QtVirtualDevice.hxx.

◆ m_pImage

std::unique_ptr<QImage> QtVirtualDevice::m_pImage
private

Definition at line 36 of file qt5/QtVirtualDevice.hxx.


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