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

#include <overlayobject.hxx>

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

Public Member Functions

 OverlayObject (Color aBaseColor)
 
virtual ~OverlayObject () override
 
OverlayManagergetOverlayManager () const
 
virtual drawinglayer::primitive2d::Primitive2DContainer getOverlayObjectPrimitive2DSequence () const
 
bool isVisible () const
 
void setVisible (bool bNew)
 
bool isHittable () const
 
void setHittable (bool bNew)
 
bool allowsAntiAliase () const
 
bool isHighContrastSelection () const
 
const basegfx::B2DRangegetBaseRange () const
 
const ColorgetBaseColor () const
 
void setBaseColor (Color aNew)
 
const basegfx::B2DVectorgetOffset () const
 
void setOffset (const basegfx::B2DVector &rOffset)
 
virtual void Trigger (sal_uInt32 nTime) override
 
bool allowsAnimation () const
 
virtual void stripeDefinitionHasChanged ()
 
- Public Member Functions inherited from sdr::animation::Event
SAL_DLLPRIVATE Event ()
 
virtual ~Event ()
 
SAL_DLLPRIVATE sal_uInt32 GetTime () const
 
void SetTime (sal_uInt32 nNew)
 
virtual void Trigger (sal_uInt32 nTime)=0
 

Protected Member Functions

const drawinglayer::primitive2d::Primitive2DContainergetPrimitive2DSequence () const
 
void resetPrimitive2DSequence ()
 
virtual drawinglayer::primitive2d::Primitive2DContainer createOverlayObjectPrimitive2DSequence ()
 
void objectChange ()
 
void allowAntiAliase (bool bNew)
 

Static Protected Member Functions

static sal_uInt32 impCheckBlinkTimeValueRange (sal_uInt64 nBlinkTime)
 

Protected Attributes

basegfx::B2DRange maBaseRange
 
Color maBaseColor
 
bool mbIsVisible: 1
 
bool mbIsHittable: 1
 
bool mbAllowsAnimation: 1
 
bool mbAllowsAntiAliase: 1
 
bool mbHighContrastSelection: 1
 

Private Member Functions

 OverlayObject (const OverlayObject &)=delete
 
OverlayObjectoperator= (const OverlayObject &)=delete
 

Private Attributes

OverlayManagermpOverlayManager
 
drawinglayer::primitive2d::Primitive2DContainer maPrimitive2DSequence
 
basegfx::B2DVector maOffset
 

Friends

class OverlayManager
 

Detailed Description

Definition at line 47 of file overlayobject.hxx.

Constructor & Destructor Documentation

◆ OverlayObject() [1/2]

sdr::overlay::OverlayObject::OverlayObject ( const OverlayObject )
privatedelete

◆ OverlayObject() [2/2]

sdr::overlay::OverlayObject::OverlayObject ( Color  aBaseColor)
explicit

Definition at line 86 of file overlayobject.cxx.

◆ ~OverlayObject()

sdr::overlay::OverlayObject::~OverlayObject ( )
overridevirtual

Definition at line 98 of file overlayobject.cxx.

References getOverlayManager().

Member Function Documentation

◆ allowAntiAliase()

void sdr::overlay::OverlayObject::allowAntiAliase ( bool  bNew)
protected

◆ allowsAnimation()

bool sdr::overlay::OverlayObject::allowsAnimation ( ) const
inline

Definition at line 171 of file overlayobject.hxx.

◆ allowsAntiAliase()

bool sdr::overlay::OverlayObject::allowsAntiAliase ( ) const
inline

Definition at line 149 of file overlayobject.hxx.

Referenced by sdr::overlay::OverlayManager::ImpDrawMembers().

◆ createOverlayObjectPrimitive2DSequence()

drawinglayer::primitive2d::Primitive2DContainer sdr::overlay::OverlayObject::createOverlayObjectPrimitive2DSequence ( )
protectedvirtual

◆ getBaseColor()

const Color & sdr::overlay::OverlayObject::getBaseColor ( ) const
inline

◆ getBaseRange()

const basegfx::B2DRange & sdr::overlay::OverlayObject::getBaseRange ( ) const

◆ getOffset()

const basegfx::B2DVector & sdr::overlay::OverlayObject::getOffset ( ) const
inline

Definition at line 163 of file overlayobject.hxx.

Referenced by getOverlayObjectPrimitive2DSequence().

◆ getOverlayManager()

OverlayManager * sdr::overlay::OverlayObject::getOverlayManager ( ) const
inline

◆ getOverlayObjectPrimitive2DSequence()

drawinglayer::primitive2d::Primitive2DContainer sdr::overlay::OverlayObject::getOverlayObjectPrimitive2DSequence ( ) const
virtual

◆ getPrimitive2DSequence()

const drawinglayer::primitive2d::Primitive2DContainer & sdr::overlay::OverlayObject::getPrimitive2DSequence ( ) const
inlineprotected

◆ impCheckBlinkTimeValueRange()

sal_uInt32 sdr::overlay::OverlayObject::impCheckBlinkTimeValueRange ( sal_uInt64  nBlinkTime)
staticprotected

Definition at line 60 of file overlayobject.cxx.

◆ isHighContrastSelection()

bool sdr::overlay::OverlayObject::isHighContrastSelection ( ) const
inline

Definition at line 152 of file overlayobject.hxx.

Referenced by sdr::overlay::OverlayManager::ImpDrawMembers().

◆ isHittable()

bool sdr::overlay::OverlayObject::isHittable ( ) const
inline

Definition at line 145 of file overlayobject.hxx.

◆ isVisible()

bool sdr::overlay::OverlayObject::isVisible ( ) const
inline

Definition at line 141 of file overlayobject.hxx.

Referenced by sdr::overlay::OverlayManager::ImpDrawMembers().

◆ objectChange()

void sdr::overlay::OverlayObject::objectChange ( )
protected

◆ operator=()

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

◆ resetPrimitive2DSequence()

void sdr::overlay::OverlayObject::resetPrimitive2DSequence ( )
inlineprotected

◆ setBaseColor()

void sdr::overlay::OverlayObject::setBaseColor ( Color  aNew)

Definition at line 170 of file overlayobject.cxx.

References maBaseColor, and objectChange().

◆ setHittable()

void sdr::overlay::OverlayObject::setHittable ( bool  bNew)

Definition at line 158 of file overlayobject.cxx.

References mbIsHittable, and objectChange().

◆ setOffset()

void sdr::overlay::OverlayObject::setOffset ( const basegfx::B2DVector rOffset)

Definition at line 182 of file overlayobject.cxx.

References maOffset, and objectChange().

◆ setVisible()

void sdr::overlay::OverlayObject::setVisible ( bool  bNew)

Definition at line 146 of file overlayobject.cxx.

References mbIsVisible, and objectChange().

◆ stripeDefinitionHasChanged()

void sdr::overlay::OverlayObject::stripeDefinitionHasChanged ( )
virtual

◆ Trigger()

void sdr::overlay::OverlayObject::Trigger ( sal_uInt32  nTime)
overridevirtual

Friends And Related Function Documentation

◆ OverlayManager

friend class OverlayManager
friend

Definition at line 54 of file overlayobject.hxx.

Member Data Documentation

◆ maBaseColor

Color sdr::overlay::OverlayObject::maBaseColor
protected

Definition at line 94 of file overlayobject.hxx.

Referenced by setBaseColor().

◆ maBaseRange

basegfx::B2DRange sdr::overlay::OverlayObject::maBaseRange
protected

Definition at line 91 of file overlayobject.hxx.

Referenced by getBaseRange(), and objectChange().

◆ maOffset

basegfx::B2DVector sdr::overlay::OverlayObject::maOffset
private

Definition at line 66 of file overlayobject.hxx.

Referenced by setOffset().

◆ maPrimitive2DSequence

drawinglayer::primitive2d::Primitive2DContainer sdr::overlay::OverlayObject::maPrimitive2DSequence
private

Definition at line 61 of file overlayobject.hxx.

Referenced by getOverlayObjectPrimitive2DSequence().

◆ mbAllowsAnimation

bool sdr::overlay::OverlayObject::mbAllowsAnimation
protected

◆ mbAllowsAntiAliase

bool sdr::overlay::OverlayObject::mbAllowsAntiAliase
protected

Definition at line 110 of file overlayobject.hxx.

Referenced by allowAntiAliase().

◆ mbHighContrastSelection

bool sdr::overlay::OverlayObject::mbHighContrastSelection
protected

Definition at line 116 of file overlayobject.hxx.

Referenced by sdr::overlay::OverlayRectangle::OverlayRectangle().

◆ mbIsHittable

bool sdr::overlay::OverlayObject::mbIsHittable
protected

Definition at line 100 of file overlayobject.hxx.

Referenced by setHittable().

◆ mbIsVisible

bool sdr::overlay::OverlayObject::mbIsVisible
protected

Definition at line 97 of file overlayobject.hxx.

Referenced by setVisible().

◆ mpOverlayManager

OverlayManager* sdr::overlay::OverlayObject::mpOverlayManager
private

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