26#include <osl/diagnose.h>
56 OSL_FAIL(
"OverlayObject derivation without visualisation definition (missing createOverlayObjectPrimitive2DSequence implementation) (!)");
66 else if(nBlinkTime > 10000)
87 : mpOverlayManager(nullptr),
89 maBaseColor(aBaseColor),
92 mbAllowsAnimation(false),
93 mbAllowsAntiAliase(true),
94 mbHighContrastSelection(false)
100 OSL_ENSURE(
nullptr ==
getOverlayManager(),
"OverlayObject is destructed which is still registered at OverlayManager (!)");
118 aTranslateGridOffset,
134 if(!rSequence.empty())
basegfx::B2DPoint maBasePosition
basegfx::B2DRange getB2DRange(const geometry::ViewInformation2D &aViewInformation) const
virtual void invalidateRange(const basegfx::B2DRange &rRange)
void setBasePosition(const basegfx::B2DPoint &rNew)
OverlayObjectWithBasePosition(const basegfx::B2DPoint &rBasePos, Color aBaseColor)
basegfx::B2DPoint maBasePosition
virtual ~OverlayObjectWithBasePosition() override
drawinglayer::primitive2d::Primitive2DContainer maPrimitive2DSequence
const basegfx::B2DVector & getOffset() const
void setBaseColor(Color aNew)
void setVisible(bool bNew)
virtual drawinglayer::primitive2d::Primitive2DContainer createOverlayObjectPrimitive2DSequence()
const basegfx::B2DRange & getBaseRange() const
basegfx::B2DRange maBaseRange
void allowAntiAliase(bool bNew)
OverlayManager * getOverlayManager() const
void setOffset(const basegfx::B2DVector &rOffset)
virtual void Trigger(sal_uInt32 nTime) override
virtual void stripeDefinitionHasChanged()
static sal_uInt32 impCheckBlinkTimeValueRange(sal_uInt64 nBlinkTime)
void setHittable(bool bNew)
basegfx::B2DVector maOffset
const drawinglayer::primitive2d::Primitive2DContainer & getPrimitive2DSequence() const
virtual drawinglayer::primitive2d::Primitive2DContainer getOverlayObjectPrimitive2DSequence() const
OverlayObject(const OverlayObject &)=delete
void resetPrimitive2DSequence()
virtual ~OverlayObject() override
B2DHomMatrix createTranslateB2DHomMatrix(double fTranslateX, double fTranslateY)