Backbuffer implementation for canvas bitmap.
bool mbVDevContentIsCurrent
When true, and mpVDev is non-NULL, the VDev contains the last valid content.
BitmapEx & getBitmapReference()
Exposing our internal bitmap.
BitmapBackBuffer(const BitmapEx &rBitmap, const OutputDevice &rRefDevice)
Create a backbuffer for given reference device.
const OutputDevice & mrRefDevice
virtual ~BitmapBackBuffer() override
VclPtr< VirtualDevice > mpVDev
virtual OutputDevice & getOutDev() override
::canvas::vcltools::VCLObject< BitmapEx > maBitmap
Size getBitmapSizePixel() const
bool mbBitmapContentIsCurrent
When true, the bitmap contains the last valid content.
void clear()
Clear the underlying bitmap to white, all transparent.
Implementers of this interface provide the CanvasHelper with its OutputDevice.
std::shared_ptr< BitmapBackBuffer > BitmapBackBufferSharedPtr