20#ifndef INCLUDED_VCL_INC_WIN_SALVD_H
21#define INCLUDED_VCL_INC_WIN_SALVD_H
A non-visible drawable/buffer (e.g. an X11 Pixmap).
WinSalGraphics never owns the HDC it uses to draw, because the HDC can have various origins with diff...
WinSalVirtualDevice * getNext() const
WinSalVirtualDevice * mpNext
virtual void ReleaseGraphics(SalGraphics *pGraphics) override
WinSalVirtualDevice(HDC hDC=nullptr, HBITMAP hBMP=nullptr, sal_uInt16 nBitCount=0, bool bForeignDC=false, tools::Long nWidth=0, tools::Long nHeight=0)
void setGraphics(WinSalGraphics *pVirGraphics)
static HBITMAP ImplCreateVirDevBitmap(HDC hDC, tools::Long nDX, tools::Long nDY, sal_uInt16 nBitCount, void **ppDummy)
virtual tools::Long GetHeight() const override
WinSalGraphics * getGraphics() const
virtual tools::Long GetWidth() const override
virtual ~WinSalVirtualDevice() override
std::unique_ptr< WinSalGraphics > mpGraphics
virtual SalGraphics * AcquireGraphics() override
virtual bool SetSize(tools::Long nNewDX, tools::Long nNewDY) override
ScopedGDI< HBITMAP, DeleteBitmap > ScopedHBITMAP