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 ()
 
SdrPaintViewGetPaintView () 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 OutputIsVirtualDevice () const
 
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
 

Detailed Description

Definition at line 65 of file sdrpaintwindow.hxx.

Constructor & Destructor Documentation

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

Definition at line 235 of file sdrpaintwindow.cxx.

References mpWindow, and OUTDEV_WINDOW.

SdrPaintWindow::~SdrPaintWindow ( )

Definition at line 244 of file sdrpaintwindow.cxx.

References DestroyPreRenderDevice(), and mxOverlayManager.

Member Function Documentation

void SdrPaintWindow::DestroyPreRenderDevice ( )

Definition at line 300 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
SdrPaintView& SdrPaintWindow::GetPaintView ( ) const
inline

Definition at line 100 of file sdrpaintwindow.hxx.

Referenced by impCreateOverlayManager().

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

Definition at line 138 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
bool SdrPaintWindow::OutputIsVirtualDevice ( ) const
inline

Definition at line 122 of file sdrpaintwindow.hxx.

References OutputDevice::IsVirtual().

Referenced by PreparePreRenderDevice().

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

Definition at line 305 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::SetRedrawRegion ( const vcl::Region rNew)
void SdrPaintWindow::setTemporaryTarget ( bool  bNew)
inline

Definition at line 139 of file sdrpaintwindow.hxx.

Referenced by SdrPaintView::BeginCompleteRedraw().

Member Data Documentation

vcl::Region SdrPaintWindow::maRedrawRegion
private

Definition at line 85 of file sdrpaintwindow.hxx.

Referenced by SetRedrawRegion().

bool SdrPaintWindow::mbOutputToWindow
private

Definition at line 90 of file sdrpaintwindow.hxx.

bool SdrPaintWindow::mbTemporaryTarget
private

Definition at line 88 of file sdrpaintwindow.hxx.

VclPtr<OutputDevice> SdrPaintWindow::mpOutputDevice
private

Definition at line 69 of file sdrpaintwindow.hxx.

Referenced by OutputToRecordingMetaFile(), and PreparePreRenderDevice().

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 72 of file sdrpaintwindow.hxx.

SdrPaintView& SdrPaintWindow::mrPaintView
private

Definition at line 75 of file sdrpaintwindow.hxx.

Referenced by PreparePreRenderDevice().

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

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