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

#include <salvd.h>

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

Public Member Functions

HDC getHDC () const
 
WinSalGraphicsgetGraphics () const
 
void setGraphics (WinSalGraphics *pVirGraphics)
 
WinSalVirtualDevicegetNext () const
 
 WinSalVirtualDevice (HDC hDC=nullptr, HBITMAP hBMP=nullptr, sal_uInt16 nBitCount=0, bool bForeignDC=false, long nWidth=0, long nHeight=0)
 
virtual ~WinSalVirtualDevice () override
 
virtual SalGraphicsAcquireGraphics () override
 
virtual void ReleaseGraphics (SalGraphics *pGraphics) override
 
virtual bool SetSize (long nNewDX, long nNewDY) 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
 
virtual bool SetSizeUsingBuffer (long nNewDX, long nNewDY, sal_uInt8 *)
 
- Public Member Functions inherited from SalGeometryProvider
virtual ~SalGeometryProvider ()
 

Static Public Member Functions

static HBITMAP ImplCreateVirDevBitmap (HDC hDC, long nDX, long nDY, sal_uInt16 nBitCount, void **ppDummy)
 

Private Attributes

HDC mhLocalDC
 
ScopedHBITMAP mhBmp
 
HBITMAP mhDefBmp
 
std::unique_ptr< WinSalGraphicsmpGraphics
 
WinSalVirtualDevicempNext
 
sal_uInt16 mnBitCount
 
bool mbGraphics
 
bool mbForeignDC
 
long mnWidth
 
long mnHeight
 

Detailed Description

Definition at line 33 of file win/salvd.h.

Constructor & Destructor Documentation

WinSalVirtualDevice::WinSalVirtualDevice ( HDC  hDC = nullptr,
HBITMAP  hBMP = nullptr,
sal_uInt16  nBitCount = 0,
bool  bForeignDC = false,
long  nWidth = 0,
long  nHeight = 0 
)
virtual WinSalVirtualDevice::~WinSalVirtualDevice ( )
overridevirtual

Member Function Documentation

virtual SalGraphics* WinSalVirtualDevice::AcquireGraphics ( )
overridevirtual

Implements SalVirtualDevice.

WinSalGraphics* WinSalVirtualDevice::getGraphics ( ) const
inline

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

HDC WinSalVirtualDevice::getHDC ( ) const
inline

Definition at line 48 of file win/salvd.h.

References mhLocalDC.

virtual long WinSalVirtualDevice::GetHeight ( ) const
inlineoverridevirtual

Implements SalGeometryProvider.

Definition at line 64 of file win/salvd.h.

References mnHeight.

WinSalVirtualDevice* WinSalVirtualDevice::getNext ( ) const
inline

Definition at line 51 of file win/salvd.h.

References mpNext.

virtual long WinSalVirtualDevice::GetWidth ( ) const
inlineoverridevirtual

Implements SalGeometryProvider.

Definition at line 63 of file win/salvd.h.

References mnWidth.

static HBITMAP WinSalVirtualDevice::ImplCreateVirDevBitmap ( HDC  hDC,
long  nDX,
long  nDY,
sal_uInt16  nBitCount,
void **  ppDummy 
)
static
virtual void WinSalVirtualDevice::ReleaseGraphics ( SalGraphics pGraphics)
overridevirtual

Implements SalVirtualDevice.

void WinSalVirtualDevice::setGraphics ( WinSalGraphics pVirGraphics)
inline

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

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

Implements SalVirtualDevice.

Member Data Documentation

bool WinSalVirtualDevice::mbForeignDC
private

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

bool WinSalVirtualDevice::mbGraphics
private

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

ScopedHBITMAP WinSalVirtualDevice::mhBmp
private

Definition at line 37 of file win/salvd.h.

HBITMAP WinSalVirtualDevice::mhDefBmp
private

Definition at line 38 of file win/salvd.h.

HDC WinSalVirtualDevice::mhLocalDC
private

Definition at line 36 of file win/salvd.h.

Referenced by getHDC().

sal_uInt16 WinSalVirtualDevice::mnBitCount
private

Definition at line 41 of file win/salvd.h.

long WinSalVirtualDevice::mnHeight
private

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

Referenced by GetHeight().

long WinSalVirtualDevice::mnWidth
private

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

Referenced by GetWidth().

std::unique_ptr<WinSalGraphics> WinSalVirtualDevice::mpGraphics
private

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

WinSalVirtualDevice* WinSalVirtualDevice::mpNext
private

Definition at line 40 of file win/salvd.h.

Referenced by getNext().


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