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:
[legend]
Collaboration diagram for vclcanvas::BackBuffer:
[legend]

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 33 of file backbuffer.hxx.

Constructor & Destructor Documentation

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

Create a backbuffer for given reference device.

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

Definition at line 27 of file backbuffer.cxx.

References BITMASK, Create(), DEFAULT, OutputDevice::GetAntialiasing(), maVDev, and OutputDevice::SetAntialiasing().

vclcanvas::BackBuffer::~BackBuffer ( )
overridevirtual

Definition at line 47 of file backbuffer.cxx.

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

Member Function Documentation

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

Implements vclcanvas::OutDevProvider.

Definition at line 53 of file backbuffer.cxx.

References maVDev.

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

Implements vclcanvas::OutDevProvider.

Definition at line 58 of file backbuffer.cxx.

References maVDev.

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

Definition at line 63 of file backbuffer.cxx.

References maVDev, and VirtualDevice::SetOutputSizePixel().

Member Data Documentation

VclPtr< VirtualDevice > vclcanvas::BackBuffer::maVDev
private

Definition at line 53 of file backbuffer.hxx.

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


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