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)
 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 ()
 
virtual OutputDevicegetOutDev ()=0
 
virtual const OutputDevicegetOutDev () const =0
 

Private Attributes

VclPtr< VirtualDevicemaVDev
 

Detailed Description

Background buffer abstraction.

Definition at line 31 of file backbuffer.hxx.

Constructor & Destructor Documentation

◆ BackBuffer()

vclcanvas::BackBuffer::BackBuffer ( const OutputDevice rRefDevice)

Create a backbuffer for given reference device.

Definition at line 30 of file backbuffer.cxx.

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

◆ ~BackBuffer()

vclcanvas::BackBuffer::~BackBuffer ( )
overridevirtual

Definition at line 36 of file backbuffer.cxx.

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

Member Function Documentation

◆ getOutDev() [1/2]

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

Implements vclcanvas::OutDevProvider.

Definition at line 47 of file backbuffer.cxx.

References maVDev.

◆ getOutDev() [2/2]

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

Implements vclcanvas::OutDevProvider.

Definition at line 42 of file backbuffer.cxx.

References maVDev.

◆ setSize()

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

Definition at line 52 of file backbuffer.cxx.

References maVDev.

Member Data Documentation

◆ maVDev

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

Definition at line 44 of file backbuffer.hxx.

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


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