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

#include <Qt5VirtualDevice.hxx>

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

Public Member Functions

 Qt5VirtualDevice (DeviceFormat eFormat, double fScale)
 
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
 
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 ()
 

Private Attributes

std::list< Qt5Graphics * > m_aGraphics
 
std::unique_ptr< QImage > m_pImage
 
DeviceFormat m_eFormat
 
QSize m_aFrameSize
 
double m_fScale
 

Detailed Description

Definition at line 33 of file Qt5VirtualDevice.hxx.

Constructor & Destructor Documentation

Qt5VirtualDevice::Qt5VirtualDevice ( DeviceFormat  eFormat,
double  fScale 
)

Member Function Documentation

virtual SalGraphics* Qt5VirtualDevice::AcquireGraphics ( )
overridevirtual

Implements SalVirtualDevice.

virtual long Qt5VirtualDevice::GetHeight ( ) const
overridevirtual

Implements SalGeometryProvider.

virtual long Qt5VirtualDevice::GetWidth ( ) const
overridevirtual

Implements SalGeometryProvider.

virtual void Qt5VirtualDevice::ReleaseGraphics ( SalGraphics pGraphics)
overridevirtual

Implements SalVirtualDevice.

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

Implements SalVirtualDevice.

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

Reimplemented from SalVirtualDevice.

Member Data Documentation

QSize Qt5VirtualDevice::m_aFrameSize
private

Definition at line 38 of file Qt5VirtualDevice.hxx.

std::list<Qt5Graphics*> Qt5VirtualDevice::m_aGraphics
private

Definition at line 35 of file Qt5VirtualDevice.hxx.

DeviceFormat Qt5VirtualDevice::m_eFormat
private

Definition at line 37 of file Qt5VirtualDevice.hxx.

double Qt5VirtualDevice::m_fScale
private

Definition at line 39 of file Qt5VirtualDevice.hxx.

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

Definition at line 36 of file Qt5VirtualDevice.hxx.


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