LibreOffice Module svx (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SdrPaintWindow Class Reference

#include <sdrpaintwindow.hxx>

Collaboration diagram for SdrPaintWindow:
[legend]

Public Member Functions

 SdrPaintWindow (SdrPaintView &rNewPaintView, OutputDevice &rOut, vcl::Window *pWindow=nullptr)
 
 ~SdrPaintWindow ()
 
void setPatched (SdrPaintWindow *pPaintWindow)
 
SdrPaintWindowgetPatched () const
 
OutputDeviceGetOutputDevice () const
 
vcl::WindowGetWindow () const
 
rtl::Reference< sdr::overlay::OverlayManager > const & GetOverlayManager () const
 
void DrawOverlay (const vcl::Region &rRegion)
 
tools::Rectangle GetVisibleArea () const
 
bool OutputToPrinter () const
 
bool OutputToWindow () const
 
void SetOutputToWindow (bool bOutputToWindow)
 
bool OutputToRecordingMetaFile () const
 
void PreparePreRenderDevice ()
 
void DestroyPreRenderDevice ()
 
void OutputPreRenderDevice (const vcl::Region &rExpandedRegion)
 
SdrPreRenderDeviceGetPreRenderDevice () const
 
const vcl::RegionGetRedrawRegion () const
 
void SetRedrawRegion (const vcl::Region &rNew)
 
bool getTemporaryTarget () const
 
void setTemporaryTarget (bool bNew)
 
OutputDeviceGetTargetOutputDevice ()
 

Private Member Functions

void impCreateOverlayManager ()
 

Private Attributes

VclPtr< OutputDevicempOutputDevice
 
VclPtr< vcl::WindowmpWindow
 In case mrOutputDevice is a buffer for a vcl::Window, this is the window. More...
 
SdrPaintViewmrPaintView
 
rtl::Reference< sdr::overlay::OverlayManagermxOverlayManager
 
std::unique_ptr< SdrPreRenderDevicempPreRenderDevice
 
vcl::Region maRedrawRegion
 
bool mbTemporaryTarget: 1
 
bool mbOutputToWindow: 1
 
SdrPaintWindowmpPatched
 

Detailed Description

Definition at line 59 of file sdrpaintwindow.hxx.

Constructor & Destructor Documentation

SdrPaintWindow::SdrPaintWindow ( SdrPaintView rNewPaintView,
OutputDevice rOut,
vcl::Window pWindow = nullptr 
)

Definition at line 239 of file sdrpaintwindow.cxx.

References mpWindow, and OUTDEV_WINDOW.

SdrPaintWindow::~SdrPaintWindow ( )

Definition at line 249 of file sdrpaintwindow.cxx.

References DestroyPreRenderDevice(), and mxOverlayManager.

Member Function Documentation

void SdrPaintWindow::DestroyPreRenderDevice ( )

Definition at line 305 of file sdrpaintwindow.cxx.

References mpPreRenderDevice.

Referenced by PreparePreRenderDevice(), and ~SdrPaintWindow().

void SdrPaintWindow::DrawOverlay ( const vcl::Region rRegion)
OutputDevice& SdrPaintWindow::GetOutputDevice ( ) const
inline
rtl::Reference< sdr::overlay::OverlayManager > const & SdrPaintWindow::GetOverlayManager ( ) const
SdrPaintWindow* SdrPaintWindow::getPatched ( ) const
inline

Definition at line 98 of file sdrpaintwindow.hxx.

Referenced by SdrPaintView::FindPaintWindow().

SdrPreRenderDevice* SdrPaintWindow::GetPreRenderDevice ( ) const
inline
const vcl::Region& SdrPaintWindow::GetRedrawRegion ( ) const
inline
OutputDevice& SdrPaintWindow::GetTargetOutputDevice ( )
inline
bool SdrPaintWindow::getTemporaryTarget ( ) const
inline

Definition at line 135 of file sdrpaintwindow.hxx.

Referenced by SdrPaintView::EndCompleteRedraw().

tools::Rectangle SdrPaintWindow::GetVisibleArea ( ) const
vcl::Window* SdrPaintWindow::GetWindow ( ) const
inline

Definition at line 102 of file sdrpaintwindow.hxx.

Referenced by SdrObjEditView::TextEditDrawing().

void SdrPaintWindow::impCreateOverlayManager ( )
private
void SdrPaintWindow::OutputPreRenderDevice ( const vcl::Region rExpandedRegion)

Definition at line 310 of file sdrpaintwindow.cxx.

References mpPreRenderDevice.

Referenced by SdrPaintView::EndCompleteRedraw().

bool SdrPaintWindow::OutputToPrinter ( ) const
inline

Definition at line 114 of file sdrpaintwindow.hxx.

References OutputDevice::GetOutDevType(), and OUTDEV_PRINTER.

Referenced by DrawOverlay(), and PreparePreRenderDevice().

bool SdrPaintWindow::OutputToRecordingMetaFile ( ) const
bool SdrPaintWindow::OutputToWindow ( ) const
inline
void SdrPaintWindow::PreparePreRenderDevice ( )
void SdrPaintWindow::SetOutputToWindow ( bool  bOutputToWindow)
inline
void SdrPaintWindow::setPatched ( SdrPaintWindow pPaintWindow)
inline

Definition at line 97 of file sdrpaintwindow.hxx.

void SdrPaintWindow::SetRedrawRegion ( const vcl::Region rNew)
void SdrPaintWindow::setTemporaryTarget ( bool  bNew)
inline

Definition at line 136 of file sdrpaintwindow.hxx.

Referenced by SdrPaintView::BeginCompleteRedraw().

Member Data Documentation

vcl::Region SdrPaintWindow::maRedrawRegion
private

Definition at line 79 of file sdrpaintwindow.hxx.

Referenced by SetRedrawRegion().

bool SdrPaintWindow::mbOutputToWindow
private

Definition at line 84 of file sdrpaintwindow.hxx.

bool SdrPaintWindow::mbTemporaryTarget
private

Definition at line 82 of file sdrpaintwindow.hxx.

VclPtr<OutputDevice> SdrPaintWindow::mpOutputDevice
private

Definition at line 63 of file sdrpaintwindow.hxx.

Referenced by OutputToRecordingMetaFile(), and PreparePreRenderDevice().

SdrPaintWindow* SdrPaintWindow::mpPatched
private

Definition at line 87 of file sdrpaintwindow.hxx.

std::unique_ptr<SdrPreRenderDevice> SdrPaintWindow::mpPreRenderDevice
private
VclPtr<vcl::Window> SdrPaintWindow::mpWindow
private

In case mrOutputDevice is a buffer for a vcl::Window, this is the window.

Definition at line 66 of file sdrpaintwindow.hxx.

SdrPaintView& SdrPaintWindow::mrPaintView
private

Definition at line 69 of file sdrpaintwindow.hxx.

Referenced by impCreateOverlayManager(), and PreparePreRenderDevice().

rtl::Reference< sdr::overlay::OverlayManager > SdrPaintWindow::mxOverlayManager
private

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