LibreOffice Module canvas (master)  1
Public Member Functions | Private Attributes | List of all members
vclcanvas::BackBuffer Class Reference

Background buffer abstraction. More...

#include <backbuffer.hxx>

Inheritance diagram for vclcanvas::BackBuffer:
Collaboration diagram for vclcanvas::BackBuffer:

Public Member Functions

 BackBuffer (const OutputDevice &rRefDevice, bool bMonochromeBuffer=false)
 Create a backbuffer for given reference device. More...
virtual ~BackBuffer () override
virtual OutputDevicegetOutDev () override
virtual const OutputDevicegetOutDev () const override
void setSize (const ::Size &rNewSize)
- Public Member Functions inherited from vclcanvas::OutDevProvider
virtual ~OutDevProvider ()

Private Attributes

VclPtr< VirtualDevicemaVDev

Detailed Description

Background buffer abstraction.

Definition at line 31 of file backbuffer.hxx.

Constructor & Destructor Documentation

vclcanvas::BackBuffer::BackBuffer ( const OutputDevice rRefDevice,
bool  bMonochromeBuffer = false 

Create a backbuffer for given reference device.

bMonochromeBufferWhen false, default depth of reference device is chosen. When true, the buffer will be monochrome, i.e. one bit deep.

Definition at line 30 of file backbuffer.cxx.

References BITMASK, Create(), DEFAULT, maVDev, and vclcanvas::tools::SetDefaultDeviceAntiAliasing().

vclcanvas::BackBuffer::~BackBuffer ( )

Definition at line 41 of file backbuffer.cxx.

References VclPtr< VirtualDevice >::disposeAndClear(), and maVDev.

Member Function Documentation

OutputDevice & vclcanvas::BackBuffer::getOutDev ( )

Implements vclcanvas::OutDevProvider.

Definition at line 47 of file backbuffer.cxx.

References maVDev.

const OutputDevice & vclcanvas::BackBuffer::getOutDev ( ) const

Implements vclcanvas::OutDevProvider.

Definition at line 52 of file backbuffer.cxx.

References maVDev.

void vclcanvas::BackBuffer::setSize ( const ::Size rNewSize)

Definition at line 57 of file backbuffer.cxx.

References maVDev, and VirtualDevice::SetOutputSizePixel().

Member Data Documentation

VclPtr< VirtualDevice > vclcanvas::BackBuffer::maVDev

Definition at line 51 of file backbuffer.hxx.

Referenced by BackBuffer(), getOutDev(), setSize(), and ~BackBuffer().

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