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

Protected Attributes

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
 

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

Detailed Description

Definition at line 50 of file overlaymanager.hxx.

Constructor & Destructor Documentation

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

Referenced by create().

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

Definition at line 119 of file overlaymanager.cxx.

References COL_BLACK(), COL_WHITE(), and maViewInformation2D.

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

Definition at line 214 of file overlaymanager.cxx.

References impApplyRemoveActions(), and maOverlayObjects.

Member Function Documentation

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

Definition at line 139 of file overlaymanager.cxx.

References OverlayManager().

Referenced by SdrPaintView::CreateOverlayManager().

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

Reimplemented in sdr::overlay::OverlayManagerBuffered.

Definition at line 252 of file overlaymanager.cxx.

drawinglayer::geometry::ViewInformation2D const & sdr::overlay::OverlayManager::getCurrentViewInformation2D ( ) const
double sdr::overlay::OverlayManager::getDiscreteOne ( ) const
protected
const SvtOptionsDrawinglayer& sdr::overlay::OverlayManager::getDrawinglayerOpt ( ) const
inline

Definition at line 130 of file overlaymanager.hxx.

Referenced by RangeToInvalidateRectangle().

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

Definition at line 118 of file overlaymanager.hxx.

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

Definition at line 122 of file overlaymanager.hxx.

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

Definition at line 126 of file overlaymanager.hxx.

void sdr::overlay::OverlayManager::impApplyAddActions ( OverlayObject rTarget)
protected
void sdr::overlay::OverlayManager::impApplyRemoveActions ( OverlayObject rTarget)
protected
void sdr::overlay::OverlayManager::ImpDrawMembers ( const basegfx::B2DRange rRange,
OutputDevice rDestinationDevice 
) const
protected
void sdr::overlay::OverlayManager::ImpStripeDefinitionChanged ( )
protected
void sdr::overlay::OverlayManager::InsertEvent ( sdr::animation::Event rNew)
inline
void sdr::overlay::OverlayManager::invalidateRange ( const basegfx::B2DRange rRange)
virtual
OverlayManager& sdr::overlay::OverlayManager::operator= ( const OverlayManager )
privatedelete
tools::Rectangle sdr::overlay::OverlayManager::RangeToInvalidateRectangle ( const basegfx::B2DRange rRange) const
protected
void sdr::overlay::OverlayManager::remove ( OverlayObject rOverlayObject)
void sdr::overlay::OverlayManager::setStripeColorA ( Color  aNew)

Definition at line 321 of file overlaymanager.cxx.

References ImpStripeDefinitionChanged(), and maStripeColorA.

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

Definition at line 331 of file overlaymanager.cxx.

References ImpStripeDefinitionChanged(), and maStripeColorB.

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

Definition at line 341 of file overlaymanager.cxx.

References ImpStripeDefinitionChanged(), and mnStripeLengthPixel.

Member Data Documentation

SvtOptionsDrawinglayer const sdr::overlay::OverlayManager::maDrawinglayerOpt
protected
OverlayObjectVector sdr::overlay::OverlayManager::maOverlayObjects
protected

Definition at line 63 of file overlaymanager.hxx.

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

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

Definition at line 67 of file overlaymanager.hxx.

Referenced by setStripeColorA().

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

Definition at line 68 of file overlaymanager.hxx.

Referenced by setStripeColorB().

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

Definition at line 77 of file overlaymanager.hxx.

Referenced by getCurrentViewInformation2D(), and OverlayManager().

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

Definition at line 76 of file overlaymanager.hxx.

Referenced by getCurrentViewInformation2D().

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

Definition at line 78 of file overlaymanager.hxx.

Referenced by getCurrentViewInformation2D().

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

Definition at line 69 of file overlaymanager.hxx.

Referenced by setStripeLengthPixel().

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

Definition at line 60 of file overlaymanager.hxx.


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