LibreOffice Module svx (master) 1
|
#include <overlayrectangle.hxx>
Public Member Functions | |
OverlayRectangle (const basegfx::B2DPoint &rBasePosition, const basegfx::B2DPoint &rSecondPosition, const Color &rHatchColor, double fTransparence, double fDiscreteGrow, double fDiscreteShrink, double fRotation, bool bAnimate) | |
virtual void | Trigger (sal_uInt32 nTime) override |
Public Member Functions inherited from sdr::overlay::OverlayObjectWithBasePosition | |
OverlayObjectWithBasePosition (const basegfx::B2DPoint &rBasePos, Color aBaseColor) | |
virtual | ~OverlayObjectWithBasePosition () override |
const basegfx::B2DPoint & | getBasePosition () const |
void | setBasePosition (const basegfx::B2DPoint &rNew) |
Public Member Functions inherited from sdr::overlay::OverlayObject | |
OverlayObject (Color aBaseColor) | |
virtual | ~OverlayObject () override |
OverlayManager * | getOverlayManager () 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::B2DRange & | getBaseRange () const |
const Color & | getBaseColor () const |
void | setBaseColor (Color aNew) |
const basegfx::B2DVector & | getOffset () 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 | |
basegfx::B2DPoint | maSecondPosition |
const double | mfTransparence |
const double | mfDiscreteGrow |
const double | mfDiscreteShrink |
const double | mfRotation |
sal_uInt32 | mnBlinkTime |
bool | mbOverlayState: 1 |
Additional Inherited Members | |
Protected Member Functions inherited from sdr::overlay::OverlayObject | |
const drawinglayer::primitive2d::Primitive2DContainer & | getPrimitive2DSequence () 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::OverlayObjectWithBasePosition | |
basegfx::B2DPoint | maBasePosition |
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 |
Definition at line 28 of file overlayrectangle.hxx.
sdr::overlay::OverlayRectangle::OverlayRectangle | ( | const basegfx::B2DPoint & | rBasePosition, |
const basegfx::B2DPoint & | rSecondPosition, | ||
const Color & | rHatchColor, | ||
double | fTransparence, | ||
double | fDiscreteGrow, | ||
double | fDiscreteShrink, | ||
double | fRotation, | ||
bool | bAnimate | ||
) |
Definition at line 58 of file overlayrectangle.cxx.
References Application::GetSettings(), maSecondPosition, sdr::overlay::OverlayObject::mbAllowsAnimation, and sdr::overlay::OverlayObject::mbHighContrastSelection.
|
overrideprivatevirtual |
Reimplemented from sdr::overlay::OverlayObject.
Definition at line 29 of file overlayrectangle.cxx.
References basegfx::BColor::clamp(), sdr::overlay::OverlayObject::getBaseColor(), sdr::overlay::OverlayObjectWithBasePosition::getBasePosition(), maSecondPosition, mbOverlayState, mfDiscreteGrow, mfDiscreteShrink, mfRotation, and mfTransparence.
|
overridevirtual |
Reimplemented from sdr::overlay::OverlayObject.
Definition at line 88 of file overlayrectangle.cxx.
References sdr::overlay::OverlayObject::getOverlayManager(), sdr::overlay::OverlayManager::InsertEvent(), mbOverlayState, mnBlinkTime, sdr::overlay::OverlayObject::objectChange(), and sdr::animation::Event::SetTime().
|
private |
Definition at line 31 of file overlayrectangle.hxx.
Referenced by createOverlayObjectPrimitive2DSequence().
|
private |
Definition at line 41 of file overlayrectangle.hxx.
Referenced by createOverlayObjectPrimitive2DSequence(), and Trigger().
|
private |
Definition at line 33 of file overlayrectangle.hxx.
Referenced by createOverlayObjectPrimitive2DSequence().
|
private |
Definition at line 34 of file overlayrectangle.hxx.
Referenced by createOverlayObjectPrimitive2DSequence().
|
private |
Definition at line 35 of file overlayrectangle.hxx.
Referenced by createOverlayObjectPrimitive2DSequence().
|
private |
Definition at line 32 of file overlayrectangle.hxx.
Referenced by createOverlayObjectPrimitive2DSequence().
|
private |
Definition at line 38 of file overlayrectangle.hxx.
Referenced by Trigger().