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 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::SdrPaintWindow ( SdrPaintView rNewPaintView,
OutputDevice rOut,
vcl::Window pWindow = nullptr 
)

Definition at line 241 of file sdrpaintwindow.cxx.

References mpWindow, and OUTDEV_WINDOW.

◆ ~SdrPaintWindow()

SdrPaintWindow::~SdrPaintWindow ( )

Definition at line 251 of file sdrpaintwindow.cxx.

References mpPreRenderDevice, and mxOverlayManager.

Member Function Documentation

◆ DrawOverlay()

void SdrPaintWindow::DrawOverlay ( const vcl::Region rRegion)

◆ GetOutputDevice()

OutputDevice & SdrPaintWindow::GetOutputDevice ( ) const
inline

◆ GetOverlayManager()

rtl::Reference< sdr::overlay::OverlayManager > const & SdrPaintWindow::GetOverlayManager ( ) const

◆ getPatched()

SdrPaintWindow * SdrPaintWindow::getPatched ( ) const
inline

Definition at line 98 of file sdrpaintwindow.hxx.

Referenced by SdrPaintView::FindPaintWindow().

◆ GetPreRenderDevice()

SdrPreRenderDevice * SdrPaintWindow::GetPreRenderDevice ( ) const
inline

◆ GetRedrawRegion()

const vcl::Region & SdrPaintWindow::GetRedrawRegion ( ) const
inline

◆ GetTargetOutputDevice()

OutputDevice & SdrPaintWindow::GetTargetOutputDevice ( )
inline

◆ getTemporaryTarget()

bool SdrPaintWindow::getTemporaryTarget ( ) const
inline

Definition at line 134 of file sdrpaintwindow.hxx.

Referenced by SdrPaintView::EndCompleteRedraw().

◆ GetVisibleArea()

tools::Rectangle SdrPaintWindow::GetVisibleArea ( ) const

◆ GetWindow()

vcl::Window * SdrPaintWindow::GetWindow ( ) const
inline

Definition at line 102 of file sdrpaintwindow.hxx.

References mpWindow.

Referenced by SdrObjEditView::TextEditDrawing().

◆ impCreateOverlayManager()

void SdrPaintWindow::impCreateOverlayManager ( )
private

◆ OutputPreRenderDevice()

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

Definition at line 303 of file sdrpaintwindow.cxx.

References mpPreRenderDevice.

Referenced by SdrPaintView::EndCompleteRedraw().

◆ OutputToPrinter()

bool SdrPaintWindow::OutputToPrinter ( ) const
inline

Definition at line 114 of file sdrpaintwindow.hxx.

References OUTDEV_PRINTER.

Referenced by DrawOverlay(), and PreparePreRenderDevice().

◆ OutputToRecordingMetaFile()

bool SdrPaintWindow::OutputToRecordingMetaFile ( ) const

◆ OutputToWindow()

bool SdrPaintWindow::OutputToWindow ( ) const
inline

◆ PreparePreRenderDevice()

void SdrPaintWindow::PreparePreRenderDevice ( )

◆ SetOutputToWindow()

void SdrPaintWindow::SetOutputToWindow ( bool  bOutputToWindow)
inline

◆ setPatched()

void SdrPaintWindow::setPatched ( SdrPaintWindow pPaintWindow)
inline

Definition at line 97 of file sdrpaintwindow.hxx.

◆ SetRedrawRegion()

void SdrPaintWindow::SetRedrawRegion ( const vcl::Region rNew)

◆ setTemporaryTarget()

void SdrPaintWindow::setTemporaryTarget ( bool  bNew)
inline

Definition at line 135 of file sdrpaintwindow.hxx.

Referenced by SdrPaintView::BeginCompleteRedraw().

Member Data Documentation

◆ maRedrawRegion

vcl::Region SdrPaintWindow::maRedrawRegion
private

Definition at line 79 of file sdrpaintwindow.hxx.

Referenced by SetRedrawRegion().

◆ mbOutputToWindow

bool SdrPaintWindow::mbOutputToWindow
private

Definition at line 84 of file sdrpaintwindow.hxx.

◆ mbTemporaryTarget

bool SdrPaintWindow::mbTemporaryTarget
private

Definition at line 82 of file sdrpaintwindow.hxx.

◆ mpOutputDevice

VclPtr<OutputDevice> SdrPaintWindow::mpOutputDevice
private

Definition at line 63 of file sdrpaintwindow.hxx.

Referenced by OutputToRecordingMetaFile(), and PreparePreRenderDevice().

◆ mpPatched

SdrPaintWindow* SdrPaintWindow::mpPatched
private

Definition at line 87 of file sdrpaintwindow.hxx.

◆ mpPreRenderDevice

std::unique_ptr<SdrPreRenderDevice> SdrPaintWindow::mpPreRenderDevice
private

◆ mpWindow

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.

◆ mrPaintView

SdrPaintView& SdrPaintWindow::mrPaintView
private

Definition at line 69 of file sdrpaintwindow.hxx.

Referenced by impCreateOverlayManager(), and PreparePreRenderDevice().

◆ mxOverlayManager

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

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