LibreOffice Module vcl (master) 1
Public Member Functions | Private Attributes | List of all members
vcl::BufferDevice Class Reference

Buffers drawing on a vcl::RenderContext using a VirtualDevice. More...

#include <bufferdevice.hxx>

Collaboration diagram for vcl::BufferDevice:
[legend]

Public Member Functions

 BufferDevice (const VclPtr< vcl::Window > &pWindow, vcl::RenderContext &rRenderContext)
 
 ~BufferDevice ()
 
void Dispose ()
 
vcl::RenderContextoperator-> ()
 
vcl::RenderContextoperator* ()
 

Private Attributes

ScopedVclPtr< VirtualDevicem_pBuffer
 
VclPtr< vcl::Windowm_pWindow
 
vcl::RenderContextm_rRenderContext
 
bool m_bDisposed = false
 

Detailed Description

Buffers drawing on a vcl::RenderContext using a VirtualDevice.

Definition at line 18 of file bufferdevice.hxx.

Constructor & Destructor Documentation

◆ BufferDevice()

vcl::BufferDevice::BufferDevice ( const VclPtr< vcl::Window > &  pWindow,
vcl::RenderContext rRenderContext 
)

◆ ~BufferDevice()

vcl::BufferDevice::~BufferDevice ( )

Definition at line 38 of file bufferdevice.cxx.

References Dispose().

Member Function Documentation

◆ Dispose()

void vcl::BufferDevice::Dispose ( )

◆ operator*()

vcl::RenderContext & vcl::BufferDevice::operator* ( void  )

Definition at line 42 of file bufferdevice.cxx.

References m_pBuffer.

◆ operator->()

vcl::RenderContext * vcl::BufferDevice::operator-> ( )

Definition at line 40 of file bufferdevice.cxx.

References VclPtr< reference_type >::get(), and m_pBuffer.

Member Data Documentation

◆ m_bDisposed

bool vcl::BufferDevice::m_bDisposed = false
private

Definition at line 23 of file bufferdevice.hxx.

Referenced by Dispose().

◆ m_pBuffer

ScopedVclPtr<VirtualDevice> vcl::BufferDevice::m_pBuffer
private

Definition at line 20 of file bufferdevice.hxx.

Referenced by BufferDevice(), Dispose(), operator*(), and operator->().

◆ m_pWindow

VclPtr<vcl::Window> vcl::BufferDevice::m_pWindow
private

Definition at line 21 of file bufferdevice.hxx.

Referenced by Dispose().

◆ m_rRenderContext

vcl::RenderContext& vcl::BufferDevice::m_rRenderContext
private

Definition at line 22 of file bufferdevice.hxx.

Referenced by Dispose().


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