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

#include <overlayselection.hxx>

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

Public Member Functions

 OverlaySelection (OverlayType eType, const Color &rColor, std::vector< basegfx::B2DRange > &&rRanges, bool bBorder)
 
virtual ~OverlaySelection () override
 
const std::vector< basegfx::B2DRange > & getRanges () const
 
virtual drawinglayer::primitive2d::Primitive2DContainer getOverlayObjectPrimitive2DSequence () const override
 override to check conditions for last createOverlayObjectPrimitive2DSequence More...
 
void setRanges (std::vector< basegfx::B2DRange > &&rNew)
 
- Public Member Functions inherited from sdr::overlay::OverlayObject
 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
 

Private Member Functions

virtual drawinglayer::primitive2d::Primitive2DContainer createOverlayObjectPrimitive2DSequence () override
 

Private Attributes

OverlayType meOverlayType
 
std::vector< basegfx::B2DRangemaRanges
 
OverlayType maLastOverlayType
 
sal_uInt16 mnLastTransparence
 
bool mbBorder: 1
 

Additional Inherited Members

- Protected Member Functions inherited from sdr::overlay::OverlayObject
const drawinglayer::primitive2d::Primitive2DContainergetPrimitive2DSequence () const
 
void resetPrimitive2DSequence ()
 
virtual drawinglayer::primitive2d::Primitive2DContainer createOverlayObjectPrimitive2DSequence ()
 
void objectChange ()
 
void allowAntiAliase (bool bNew)
 
- Static Protected Member Functions inherited from sdr::overlay::OverlayObject
static sal_uInt32 impCheckBlinkTimeValueRange (sal_uInt64 nBlinkTime)
 
- Protected Attributes inherited from sdr::overlay::OverlayObject
basegfx::B2DRange maBaseRange
 
Color maBaseColor
 
bool mbIsVisible: 1
 
bool mbIsHittable: 1
 
bool mbAllowsAnimation: 1
 
bool mbAllowsAntiAliase: 1
 
bool mbHighContrastSelection: 1
 

Detailed Description

Definition at line 36 of file overlayselection.hxx.

Constructor & Destructor Documentation

◆ OverlaySelection()

sdr::overlay::OverlaySelection::OverlaySelection ( OverlayType  eType,
const Color rColor,
std::vector< basegfx::B2DRange > &&  rRanges,
bool  bBorder 
)

◆ ~OverlaySelection()

sdr::overlay::OverlaySelection::~OverlaySelection ( )
overridevirtual

Member Function Documentation

◆ createOverlayObjectPrimitive2DSequence()

drawinglayer::primitive2d::Primitive2DContainer sdr::overlay::OverlaySelection::createOverlayObjectPrimitive2DSequence ( )
overrideprivatevirtual

◆ getOverlayObjectPrimitive2DSequence()

drawinglayer::primitive2d::Primitive2DContainer sdr::overlay::OverlaySelection::getOverlayObjectPrimitive2DSequence ( ) const
overridevirtual

◆ getRanges()

const std::vector< basegfx::B2DRange > & sdr::overlay::OverlaySelection::getRanges ( ) const
inline

Definition at line 64 of file overlayselection.hxx.

Referenced by createOverlayObjectPrimitive2DSequence().

◆ setRanges()

void sdr::overlay::OverlaySelection::setRanges ( std::vector< basegfx::B2DRange > &&  rNew)

Definition at line 208 of file overlayselection.cxx.

References maRanges, and sdr::overlay::OverlayObject::objectChange().

Member Data Documentation

◆ maLastOverlayType

OverlayType sdr::overlay::OverlaySelection::maLastOverlayType
private

◆ maRanges

std::vector< basegfx::B2DRange > sdr::overlay::OverlaySelection::maRanges
private

Definition at line 42 of file overlayselection.hxx.

Referenced by createOverlayObjectPrimitive2DSequence(), and setRanges().

◆ mbBorder

bool sdr::overlay::OverlaySelection::mbBorder
private

Definition at line 50 of file overlayselection.hxx.

Referenced by createOverlayObjectPrimitive2DSequence().

◆ meOverlayType

OverlayType sdr::overlay::OverlaySelection::meOverlayType
private

Definition at line 39 of file overlayselection.hxx.

Referenced by getOverlayObjectPrimitive2DSequence().

◆ mnLastTransparence

sal_uInt16 sdr::overlay::OverlaySelection::mnLastTransparence
private

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