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

#include <overlaymanager.hxx>

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

Public Member Functions

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 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 Member Functions

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 ()
 

Protected Attributes

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
 

Private Member Functions

 OverlayManager (const OverlayManager &)=delete
 
OverlayManageroperator= (const OverlayManager &)=delete
 

Additional Inherited Members

- 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)
 

Detailed Description

Definition at line 47 of file overlaymanager.hxx.

Constructor & Destructor Documentation

◆ OverlayManager() [1/2]

sdr::overlay::OverlayManager::OverlayManager ( const OverlayManager )
privatedelete

Referenced by create().

◆ OverlayManager() [2/2]

sdr::overlay::OverlayManager::OverlayManager ( OutputDevice rOutputDevice)
protected

◆ ~OverlayManager()

sdr::overlay::OverlayManager::~OverlayManager ( )
overrideprotectedvirtual

Definition at line 221 of file overlaymanager.cxx.

References impApplyRemoveActions(), and maOverlayObjects.

Member Function Documentation

◆ add()

void sdr::overlay::OverlayManager::add ( OverlayObject rOverlayObject)

◆ completeRedraw()

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

◆ create()

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

Definition at line 148 of file overlaymanager.cxx.

References OverlayManager().

Referenced by SdrPaintView::CreateOverlayManager().

◆ flush()

void sdr::overlay::OverlayManager::flush ( )
virtual

Reimplemented in sdr::overlay::OverlayManagerBuffered.

Definition at line 259 of file overlaymanager.cxx.

◆ getCurrentViewInformation2D()

drawinglayer::geometry::ViewInformation2D const & sdr::overlay::OverlayManager::getCurrentViewInformation2D ( ) const

◆ getDiscreteOne()

double sdr::overlay::OverlayManager::getDiscreteOne ( ) const
protected

◆ getOutputDevice()

OutputDevice & sdr::overlay::OverlayManager::getOutputDevice ( ) const
inline

◆ getStripeColorA()

const Color & sdr::overlay::OverlayManager::getStripeColorA ( ) const
inline

Definition at line 112 of file overlaymanager.hxx.

◆ getStripeColorB()

const Color & sdr::overlay::OverlayManager::getStripeColorB ( ) const
inline

Definition at line 116 of file overlaymanager.hxx.

◆ getStripeLengthPixel()

sal_uInt32 sdr::overlay::OverlayManager::getStripeLengthPixel ( ) const
inline

Definition at line 120 of file overlaymanager.hxx.

◆ impApplyAddActions()

void sdr::overlay::OverlayManager::impApplyAddActions ( OverlayObject rTarget)
protected

Definition at line 202 of file overlaymanager.cxx.

References sdr::animation::Scheduler::GetTime(), invalidateRange(), and rTarget.

Referenced by add().

◆ impApplyRemoveActions()

void sdr::overlay::OverlayManager::impApplyRemoveActions ( OverlayObject rTarget)
protected

Definition at line 186 of file overlaymanager.cxx.

References invalidateRange(), sdr::animation::Scheduler::RemoveEvent(), and rTarget.

Referenced by remove(), and ~OverlayManager().

◆ ImpDrawMembers()

void sdr::overlay::OverlayManager::ImpDrawMembers ( const basegfx::B2DRange rRange,
OutputDevice rDestinationDevice 
) const
protected

◆ ImpStripeDefinitionChanged()

void sdr::overlay::OverlayManager::ImpStripeDefinitionChanged ( )
protected

◆ InsertEvent()

void sdr::overlay::OverlayManager::InsertEvent ( sdr::animation::Event rNew)
inline

◆ invalidateRange()

void sdr::overlay::OverlayManager::invalidateRange ( const basegfx::B2DRange rRange)
virtual

◆ operator=()

OverlayManager & sdr::overlay::OverlayManager::operator= ( const OverlayManager )
privatedelete

◆ RangeToInvalidateRectangle()

tools::Rectangle sdr::overlay::OverlayManager::RangeToInvalidateRectangle ( const basegfx::B2DRange rRange) const
protected

◆ remove()

void sdr::overlay::OverlayManager::remove ( OverlayObject rOverlayObject)

◆ setStripeColorA()

void sdr::overlay::OverlayManager::setStripeColorA ( Color  aNew)

Definition at line 331 of file overlaymanager.cxx.

References ImpStripeDefinitionChanged(), and maStripeColorA.

◆ setStripeColorB()

void sdr::overlay::OverlayManager::setStripeColorB ( Color  aNew)

Definition at line 341 of file overlaymanager.cxx.

References ImpStripeDefinitionChanged(), and maStripeColorB.

◆ setStripeLengthPixel()

void sdr::overlay::OverlayManager::setStripeLengthPixel ( sal_uInt32  nNew)

Definition at line 351 of file overlaymanager.cxx.

References ImpStripeDefinitionChanged(), and mnStripeLengthPixel.

Member Data Documentation

◆ maOverlayObjects

OverlayObjectVector sdr::overlay::OverlayManager::maOverlayObjects
protected

◆ maStripeColorA

Color sdr::overlay::OverlayManager::maStripeColorA
protected

Definition at line 64 of file overlaymanager.hxx.

Referenced by setStripeColorA().

◆ maStripeColorB

Color sdr::overlay::OverlayManager::maStripeColorB
protected

Definition at line 65 of file overlaymanager.hxx.

Referenced by setStripeColorB().

◆ maViewInformation2D

drawinglayer::geometry::ViewInformation2D sdr::overlay::OverlayManager::maViewInformation2D
protected

Definition at line 71 of file overlaymanager.hxx.

Referenced by getCurrentViewInformation2D(), and OverlayManager().

◆ maViewTransformation

basegfx::B2DHomMatrix sdr::overlay::OverlayManager::maViewTransformation
protected

Definition at line 70 of file overlaymanager.hxx.

Referenced by getCurrentViewInformation2D().

◆ mfDiscreteOne

double sdr::overlay::OverlayManager::mfDiscreteOne
protected

Definition at line 72 of file overlaymanager.hxx.

Referenced by getCurrentViewInformation2D(), and getDiscreteOne().

◆ mnStripeLengthPixel

sal_uInt32 sdr::overlay::OverlayManager::mnStripeLengthPixel
protected

Definition at line 66 of file overlaymanager.hxx.

Referenced by setStripeLengthPixel().

◆ mrOutputDevice

OutputDevice& sdr::overlay::OverlayManager::mrOutputDevice
protected

Definition at line 57 of file overlaymanager.hxx.


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