LibreOffice Module vcl (master) 1
|
Buffers drawing on a vcl::RenderContext using a VirtualDevice. More...
#include <bufferdevice.hxx>
Public Member Functions | |
BufferDevice (const VclPtr< vcl::Window > &pWindow, vcl::RenderContext &rRenderContext) | |
~BufferDevice () | |
void | Dispose () |
vcl::RenderContext * | operator-> () |
vcl::RenderContext & | operator* () |
Private Attributes | |
ScopedVclPtr< VirtualDevice > | m_pBuffer |
VclPtr< vcl::Window > | m_pWindow |
vcl::RenderContext & | m_rRenderContext |
bool | m_bDisposed = false |
Buffers drawing on a vcl::RenderContext using a VirtualDevice.
Definition at line 18 of file bufferdevice.hxx.
vcl::BufferDevice::BufferDevice | ( | const VclPtr< vcl::Window > & | pWindow, |
vcl::RenderContext & | rRenderContext | ||
) |
Definition at line 14 of file bufferdevice.cxx.
References Create(), vcl::Window::GetOutputSizePixel(), OutputDevice::GetTextColor(), OutputDevice::IsRTLEnabled(), m_pBuffer, and m_pBuffer.
vcl::BufferDevice::~BufferDevice | ( | ) |
Definition at line 38 of file bufferdevice.cxx.
References Dispose().
void vcl::BufferDevice::Dispose | ( | ) |
Definition at line 26 of file bufferdevice.cxx.
References OutputDevice::DrawOutDev(), vcl::Window::GetOutputSizePixel(), m_bDisposed, m_pBuffer, m_pWindow, and m_rRenderContext.
Referenced by MenuFloatingWindow::Paint(), and ~BufferDevice().
vcl::RenderContext & vcl::BufferDevice::operator* | ( | void | ) |
Definition at line 42 of file bufferdevice.cxx.
References m_pBuffer.
vcl::RenderContext * vcl::BufferDevice::operator-> | ( | ) |
Definition at line 40 of file bufferdevice.cxx.
References VclPtr< reference_type >::get(), and m_pBuffer.
|
private |
Definition at line 23 of file bufferdevice.hxx.
Referenced by Dispose().
|
private |
Definition at line 20 of file bufferdevice.hxx.
Referenced by BufferDevice(), Dispose(), operator*(), and operator->().
|
private |
Definition at line 21 of file bufferdevice.hxx.
Referenced by Dispose().
|
private |
Definition at line 22 of file bufferdevice.hxx.
Referenced by Dispose().