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
 
OutputDevicegetOutputDevice () const
 
void add (OverlayObject &rOverlayObject)
 
void remove (OverlayObject &rOverlayObject)
 
const ColorgetStripeColorA () const
 
void setStripeColorA (Color aNew)
 
const ColorgetStripeColorB () const
 
void setStripeColorB (Color aNew)
 
sal_uInt32 getStripeLengthPixel () const
 
void setStripeLengthPixel (sal_uInt32 nNew)
 
const SvtOptionsDrawinglayergetDrawinglayerOpt () const
 
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 voidoperator new (std::size_t nSize)
 
static voidoperator 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 sal_Char *pDebugName)
 
 Timer (const sal_Char *pDebugName=nullptr)
 
 Timer (const Timer &rTimer)
 
virtual ~Timer () override
 
Timeroperator= (const Timer &rTimer)
 
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 () override
 
- Protected Member Functions inherited from Task
const ImplSchedulerDataGetSchedulerData () const
 
 Task (const sal_Char *pDebugName)
 
 Task (const Task &rTask)
 
virtual ~Task () COVERITY_NOEXCEPT_FALSE
 
Taskoperator= (const Task &rTask)
 
void SetPriority (TaskPriority ePriority)
 
TaskPriority GetPriority () const
 
void SetDebugName (const sal_Char *pDebugName)
 
const char * GetDebugName () const
 
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 voidoperator new (std::size_t nSize)
 
static voidoperator 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
 
SvtOptionsDrawinglayer const maDrawinglayerOpt
 
basegfx::B2DHomMatrix maViewTransformation
 
drawinglayer::geometry::ViewInformation2D maViewInformation2D
 
double mfDiscreteOne
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 33 of file overlaymanagerbuffered.hxx.

Constructor & Destructor Documentation

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

Member Function Documentation

void sdr::overlay::OverlayManagerBuffered::completeRedraw ( const vcl::Region rRegion,
OutputDevice pPreRenderDevice = nullptr 
) const
overridevirtual
rtl::Reference< OverlayManager > sdr::overlay::OverlayManagerBuffered::create ( OutputDevice rOutputDevice)
static

Definition at line 367 of file overlaymanagerbuffered.cxx.

References OverlayManagerBuffered().

Referenced by SdrPaintView::CreateOverlayManager().

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

Reimplemented from sdr::overlay::OverlayManager.

Definition at line 397 of file overlaymanagerbuffered.cxx.

void sdr::overlay::OverlayManagerBuffered::ImpPrepareBufferDevice ( )
private
void sdr::overlay::OverlayManagerBuffered::ImpRestoreBackground ( ) const
private
void sdr::overlay::OverlayManagerBuffered::ImpRestoreBackground ( const vcl::Region rRegionPixel) const
private
void sdr::overlay::OverlayManagerBuffered::ImpSaveBackground ( const vcl::Region rRegion,
OutputDevice pPreRenderDevice 
)
private
void sdr::overlay::OverlayManagerBuffered::invalidateRange ( const basegfx::B2DRange rRange)
overridevirtual

Member Data Documentation

Idle sdr::overlay::OverlayManagerBuffered::maBufferIdle
private
basegfx::B2IRange sdr::overlay::OverlayManagerBuffered::maBufferRememberedRangePixel
private
ScopedVclPtr<VirtualDevice> sdr::overlay::OverlayManagerBuffered::mpBufferDevice
private
ScopedVclPtr<VirtualDevice> sdr::overlay::OverlayManagerBuffered::mpOutputBufferDevice
private

Definition at line 41 of file overlaymanagerbuffered.hxx.


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