LibreOffice Module svx (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
sdr::overlay::OverlayManagerBuffered Class Referencefinal

#include <overlaymanagerbuffered.hxx>

Inheritance diagram for sdr::overlay::OverlayManagerBuffered:
[legend]
Collaboration diagram for sdr::overlay::OverlayManagerBuffered:
[legend]

Public Member Functions

virtual void completeRedraw (const vcl::Region &rRegion, OutputDevice *pPreRenderDevice=nullptr) const override
 
virtual void flush () override
 
virtual void invalidateRange (const basegfx::B2DRange &rRange) override
 
- Public Member Functions inherited from sdr::overlay::OverlayManager
drawinglayer::geometry::ViewInformation2D const & getCurrentViewInformation2D () const
 
virtual void completeRedraw (const vcl::Region &rRegion, OutputDevice *pPreRenderDevice=nullptr) const
 
virtual void flush ()
 
OutputDevicegetOutputDevice () const
 
void add (OverlayObject &rOverlayObject)
 
void remove (OverlayObject &rOverlayObject)
 
virtual void invalidateRange (const basegfx::B2DRange &rRange)
 
const ColorgetStripeColorA () const
 
void setStripeColorA (Color aNew)
 
const ColorgetStripeColorB () const
 
void setStripeColorB (Color aNew)
 
sal_uInt32 getStripeLengthPixel () const
 
void setStripeLengthPixel (sal_uInt32 nNew)
 
void InsertEvent (sdr::animation::Event &rNew)
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Static Public Member Functions

static rtl::Reference< OverlayManagercreate (OutputDevice &rOutputDevice)
 
- Static Public Member Functions inherited from sdr::overlay::OverlayManager
static rtl::Reference< OverlayManagercreate (OutputDevice &rOutputDevice)
 
- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static void * operator new (std::size_t nSize)
 
static void * operator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 

Private Member Functions

 DECL_LINK (ImpBufferTimerHandler, Timer *, void)
 
void ImpPrepareBufferDevice ()
 
void ImpRestoreBackground () const
 
void ImpRestoreBackground (const vcl::Region &rRegionPixel) const
 
void ImpSaveBackground (const vcl::Region &rRegion, OutputDevice *pPreRenderDevice)
 
 OverlayManagerBuffered (OutputDevice &rOutputDevice)
 
virtual ~OverlayManagerBuffered () override
 

Private Attributes

ScopedVclPtr< VirtualDevicempBufferDevice
 
ScopedVclPtr< VirtualDevicempOutputBufferDevice
 
Idle maBufferIdle
 
basegfx::B2IRange maBufferRememberedRangePixel
 

Additional Inherited Members

- Protected Member Functions inherited from sdr::overlay::OverlayManager
void ImpDrawMembers (const basegfx::B2DRange &rRange, OutputDevice &rDestinationDevice) const
 
void ImpStripeDefinitionChanged ()
 
void impApplyRemoveActions (OverlayObject &rTarget)
 
void impApplyAddActions (OverlayObject &rTarget)
 
double getDiscreteOne () const
 
tools::Rectangle RangeToInvalidateRectangle (const basegfx::B2DRange &rRange) const
 
 OverlayManager (OutputDevice &rOutputDevice)
 
virtual ~OverlayManager () override
 
- Protected Member Functions inherited from sdr::animation::Scheduler
SAL_DLLPRIVATE Scheduler ()
 
virtual ~Scheduler () override
 
virtual void Invoke () override
 
SAL_DLLPRIVATE sal_uInt32 GetTime () const
 
SAL_DLLPRIVATE void SetTime (sal_uInt32 nTime)
 
SAL_DLLPRIVATE void triggerEvents ()
 
SAL_DLLPRIVATE void checkTimeout ()
 
void InsertEvent (Event &rNew)
 
SAL_DLLPRIVATE void RemoveEvent (Event *pOld)
 
SAL_DLLPRIVATE bool IsPaused () const
 
SAL_DLLPRIVATE void SetPaused (bool bNew)
 
- Protected Member Functions inherited from Timer
virtual void SetDeletionFlags () override
 
virtual sal_uInt64 UpdateMinPeriod (sal_uInt64 nTimeNow) const override
 
 Timer (bool bAuto, const char *pDebugName)
 
 Timer (const char *pDebugName)
 
 Timer (const Timer &rTimer)
 
virtual ~Timer () override
 
Timeroperator= (const Timer &rTimer)
 
virtual void Invoke () override
 
void Invoke (Timer *arg)
 
void SetInvokeHandler (const Link< Timer *, void > &rLink)
 
void ClearInvokeHandler ()
 
void SetTimeout (sal_uInt64 nTimeoutMs)
 
sal_uInt64 GetTimeout () const
 
virtual void Start (bool bStartTimer=true) override
 
- Protected Member Functions inherited from Task
const ImplSchedulerDataGetSchedulerData () const
 
virtual void SetDeletionFlags ()
 
virtual sal_uInt64 UpdateMinPeriod (sal_uInt64 nTimeNow) const=0
 
 Task (const char *pDebugName)
 
 Task (const Task &rTask)
 
virtual ~Task () COVERITY_NOEXCEPT_FALSE
 
Taskoperator= (const Task &rTask)
 
void SetPriority (TaskPriority ePriority)
 
TaskPriority GetPriority () const
 
const char * GetDebugName () const
 
virtual void Invoke ()=0
 
virtual void Start (bool bStartTimer=true)
 
void Stop ()
 
bool IsActive () const
 
void SetStatic ()
 
bool IsStatic () const
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 
- Static Protected Member Functions inherited from Task
static void StartTimer (sal_uInt64 nMS)
 
- Static Protected Member Functions inherited from salhelper::SimpleReferenceObject
static void * operator new (std::size_t nSize)
 
static void * operator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 
- Protected Attributes inherited from sdr::overlay::OverlayManager
OutputDevicemrOutputDevice
 
OverlayObjectVector maOverlayObjects
 
Color maStripeColorA
 
Color maStripeColorB
 
sal_uInt32 mnStripeLengthPixel
 
basegfx::B2DHomMatrix maViewTransformation
 
drawinglayer::geometry::ViewInformation2D maViewInformation2D
 
double mfDiscreteOne
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 31 of file overlaymanagerbuffered.hxx.

Constructor & Destructor Documentation

◆ OverlayManagerBuffered()

sdr::overlay::OverlayManagerBuffered::OverlayManagerBuffered ( OutputDevice rOutputDevice)
private

Definition at line 350 of file overlaymanagerbuffered.cxx.

References Create(), LINK, maBufferIdle, Timer::SetInvokeHandler(), and Task::SetPriority().

Referenced by create().

◆ ~OverlayManagerBuffered()

sdr::overlay::OverlayManagerBuffered::~OverlayManagerBuffered ( )
overrideprivatevirtual

Member Function Documentation

◆ completeRedraw()

void sdr::overlay::OverlayManagerBuffered::completeRedraw ( const vcl::Region rRegion,
OutputDevice pPreRenderDevice = nullptr 
) const
overridevirtual

◆ create()

rtl::Reference< OverlayManager > sdr::overlay::OverlayManagerBuffered::create ( OutputDevice rOutputDevice)
static

Definition at line 362 of file overlaymanagerbuffered.cxx.

References OverlayManagerBuffered().

Referenced by SdrPaintView::CreateOverlayManager().

◆ DECL_LINK()

sdr::overlay::OverlayManagerBuffered::DECL_LINK ( ImpBufferTimerHandler  ,
Timer ,
void   
)
private

◆ flush()

void sdr::overlay::OverlayManagerBuffered::flush ( )
overridevirtual

Reimplemented from sdr::overlay::OverlayManager.

Definition at line 392 of file overlaymanagerbuffered.cxx.

◆ ImpPrepareBufferDevice()

void sdr::overlay::OverlayManagerBuffered::ImpPrepareBufferDevice ( )
private

◆ ImpRestoreBackground() [1/2]

void sdr::overlay::OverlayManagerBuffered::ImpRestoreBackground ( ) const
private

◆ ImpRestoreBackground() [2/2]

void sdr::overlay::OverlayManagerBuffered::ImpRestoreBackground ( const vcl::Region rRegionPixel) const
private

◆ ImpSaveBackground()

void sdr::overlay::OverlayManagerBuffered::ImpSaveBackground ( const vcl::Region rRegion,
OutputDevice pPreRenderDevice 
)
private

◆ invalidateRange()

void sdr::overlay::OverlayManagerBuffered::invalidateRange ( const basegfx::B2DRange rRange)
overridevirtual

Member Data Documentation

◆ maBufferIdle

Idle sdr::overlay::OverlayManagerBuffered::maBufferIdle
private

◆ maBufferRememberedRangePixel

basegfx::B2IRange sdr::overlay::OverlayManagerBuffered::maBufferRememberedRangePixel
private

◆ mpBufferDevice

ScopedVclPtr<VirtualDevice> sdr::overlay::OverlayManagerBuffered::mpBufferDevice
private

◆ mpOutputBufferDevice

ScopedVclPtr<VirtualDevice> sdr::overlay::OverlayManagerBuffered::mpOutputBufferDevice
private

Definition at line 39 of file overlaymanagerbuffered.hxx.


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