LibreOffice Module svx (master) 1
|
#include <overlayobject.hxx>
Public Member Functions | |
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 |
Protected Member Functions | |
const drawinglayer::primitive2d::Primitive2DContainer & | getPrimitive2DSequence () 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 | |
OverlayObject & | operator= (const OverlayObject &)=delete |
Private Attributes | |
OverlayManager * | mpOverlayManager |
drawinglayer::primitive2d::Primitive2DContainer | maPrimitive2DSequence |
basegfx::B2DVector | maOffset |
Friends | |
class | OverlayManager |
Definition at line 47 of file overlayobject.hxx.
|
privatedelete |
|
explicit |
Definition at line 86 of file overlayobject.cxx.
|
overridevirtual |
Definition at line 98 of file overlayobject.cxx.
References getOverlayManager().
|
protected |
Definition at line 74 of file overlayobject.cxx.
References mbAllowsAntiAliase, and objectChange().
Referenced by sdr::overlay::OverlayObjectCell::OverlayObjectCell(), and sdr::overlay::OverlaySelection::OverlaySelection().
|
inline |
Definition at line 171 of file overlayobject.hxx.
|
inline |
Definition at line 149 of file overlayobject.hxx.
Referenced by sdr::overlay::OverlayManager::ImpDrawMembers().
|
protectedvirtual |
Reimplemented in sdr::overlay::OverlayAnimatedBitmapEx, sdr::overlay::OverlayBitmapEx, sdr::overlay::OverlayPolyPolygon, sdr::overlay::OverlayPolyPolygonStripedAndFilled, sdr::overlay::OverlayPrimitive2DSequenceObject, sdr::overlay::OverlaySelection, sdr::overlay::OverlayCrosshairStriped, sdr::overlay::OverlayHandle, sdr::overlay::OverlayHelplineStriped, sdr::overlay::OverlayLineStriped, sdr::overlay::OverlayObjectCell, sdr::overlay::OverlayRectangle, sdr::overlay::OverlayRollingRectangleStriped, and sdr::overlay::OverlayTriangle.
Definition at line 51 of file overlayobject.cxx.
Referenced by getOverlayObjectPrimitive2DSequence().
|
inline |
Definition at line 159 of file overlayobject.hxx.
Referenced by sdr::overlay::OverlayPolyPolygon::createOverlayObjectPrimitive2DSequence(), sdr::overlay::OverlaySelection::createOverlayObjectPrimitive2DSequence(), sdr::overlay::OverlayHandle::createOverlayObjectPrimitive2DSequence(), sdr::overlay::OverlayObjectCell::createOverlayObjectPrimitive2DSequence(), sdr::overlay::OverlayRectangle::createOverlayObjectPrimitive2DSequence(), and sdr::overlay::OverlayTriangle::createOverlayObjectPrimitive2DSequence().
const basegfx::B2DRange & sdr::overlay::OverlayObject::getBaseRange | ( | ) | const |
Definition at line 128 of file overlayobject.cxx.
References drawinglayer::primitive2d::Primitive2DContainer::getB2DRange(), getOverlayManager(), getOverlayObjectPrimitive2DSequence(), basegfx::Range2D< typename TYPE, typename TRAITS >::isEmpty(), and maBaseRange.
Referenced by sdr::overlay::OverlayManager::ImpDrawMembers(), and objectChange().
|
inline |
Definition at line 163 of file overlayobject.hxx.
Referenced by getOverlayObjectPrimitive2DSequence().
|
inline |
Definition at line 133 of file overlayobject.hxx.
Referenced by sdr::overlay::OverlayPolyPolygon::createOverlayObjectPrimitive2DSequence(), sdr::overlay::OverlayPolyPolygonStripedAndFilled::createOverlayObjectPrimitive2DSequence(), sdr::overlay::OverlayCrosshairStriped::createOverlayObjectPrimitive2DSequence(), sdr::overlay::OverlayHelplineStriped::createOverlayObjectPrimitive2DSequence(), sdr::overlay::OverlayLineStriped::createOverlayObjectPrimitive2DSequence(), sdr::overlay::OverlayRollingRectangleStriped::createOverlayObjectPrimitive2DSequence(), getBaseRange(), sdr::overlay::OverlayObjectList::isHitLogic(), sdr::overlay::OverlayObjectList::isHitPixel(), objectChange(), sdr::overlay::OverlayAnimatedBitmapEx::Trigger(), sdr::overlay::OverlayRectangle::Trigger(), ~OverlayObject(), and sdr::overlay::OverlaySelection::~OverlaySelection().
|
virtual |
Reimplemented in sdr::overlay::OverlaySelection.
Definition at line 103 of file overlayobject.cxx.
References createOverlayObjectPrimitive2DSequence(), basegfx::utils::createTranslateB2DHomMatrix(), basegfx::Tuple2D< typename TYPE >::equalZero(), getOffset(), getPrimitive2DSequence(), and maPrimitive2DSequence.
Referenced by getBaseRange(), sdr::overlay::OverlaySelection::getOverlayObjectPrimitive2DSequence(), and sdr::overlay::OverlayManager::ImpDrawMembers().
|
inlineprotected |
Definition at line 78 of file overlayobject.hxx.
Referenced by getOverlayObjectPrimitive2DSequence(), and sdr::overlay::OverlaySelection::getOverlayObjectPrimitive2DSequence().
|
staticprotected |
Definition at line 60 of file overlayobject.cxx.
|
inline |
Definition at line 152 of file overlayobject.hxx.
Referenced by sdr::overlay::OverlayManager::ImpDrawMembers().
|
inline |
Definition at line 145 of file overlayobject.hxx.
|
inline |
Definition at line 141 of file overlayobject.hxx.
Referenced by sdr::overlay::OverlayManager::ImpDrawMembers().
|
protected |
Definition at line 30 of file overlayobject.cxx.
References getBaseRange(), getOverlayManager(), sdr::overlay::OverlayManager::invalidateRange(), basegfx::Range2D< typename TYPE, typename TRAITS >::isEmpty(), maBaseRange, basegfx::Range2D< typename TYPE, typename TRAITS >::reset(), and resetPrimitive2DSequence().
Referenced by allowAntiAliase(), setBaseColor(), sdr::overlay::OverlayObjectWithBasePosition::setBasePosition(), setHittable(), setOffset(), sdr::overlay::OverlaySelection::setRanges(), sdr::overlay::OverlayRollingRectangleStriped::setSecondPosition(), setVisible(), sdr::overlay::OverlayPolyPolygonStripedAndFilled::stripeDefinitionHasChanged(), sdr::overlay::OverlayCrosshairStriped::stripeDefinitionHasChanged(), sdr::overlay::OverlayHelplineStriped::stripeDefinitionHasChanged(), sdr::overlay::OverlayLineStriped::stripeDefinitionHasChanged(), sdr::overlay::OverlayRollingRectangleStriped::stripeDefinitionHasChanged(), sdr::overlay::OverlayAnimatedBitmapEx::Trigger(), and sdr::overlay::OverlayRectangle::Trigger().
|
privatedelete |
|
inlineprotected |
Definition at line 79 of file overlayobject.hxx.
Referenced by sdr::overlay::OverlaySelection::getOverlayObjectPrimitive2DSequence(), and objectChange().
void sdr::overlay::OverlayObject::setBaseColor | ( | Color | aNew | ) |
Definition at line 170 of file overlayobject.cxx.
References maBaseColor, and objectChange().
void sdr::overlay::OverlayObject::setHittable | ( | bool | bNew | ) |
Definition at line 158 of file overlayobject.cxx.
References mbIsHittable, and objectChange().
void sdr::overlay::OverlayObject::setOffset | ( | const basegfx::B2DVector & | rOffset | ) |
Definition at line 182 of file overlayobject.cxx.
References maOffset, and objectChange().
void sdr::overlay::OverlayObject::setVisible | ( | bool | bNew | ) |
Definition at line 146 of file overlayobject.cxx.
References mbIsVisible, and objectChange().
|
virtual |
Reimplemented in sdr::overlay::OverlayPolyPolygonStripedAndFilled, sdr::overlay::OverlayCrosshairStriped, sdr::overlay::OverlayHelplineStriped, sdr::overlay::OverlayLineStriped, and sdr::overlay::OverlayRollingRectangleStriped.
Definition at line 199 of file overlayobject.cxx.
Referenced by sdr::overlay::OverlayManager::ImpStripeDefinitionChanged().
|
overridevirtual |
Implements sdr::animation::Event.
Reimplemented in sdr::overlay::OverlayAnimatedBitmapEx, and sdr::overlay::OverlayRectangle.
Definition at line 194 of file overlayobject.cxx.
|
friend |
Definition at line 54 of file overlayobject.hxx.
|
protected |
Definition at line 94 of file overlayobject.hxx.
Referenced by setBaseColor().
|
protected |
Definition at line 91 of file overlayobject.hxx.
Referenced by getBaseRange(), and objectChange().
|
private |
Definition at line 66 of file overlayobject.hxx.
Referenced by setOffset().
|
private |
Definition at line 61 of file overlayobject.hxx.
Referenced by getOverlayObjectPrimitive2DSequence().
|
protected |
Definition at line 105 of file overlayobject.hxx.
Referenced by sdr::overlay::OverlayAnimatedBitmapEx::OverlayAnimatedBitmapEx(), and sdr::overlay::OverlayRectangle::OverlayRectangle().
|
protected |
Definition at line 110 of file overlayobject.hxx.
Referenced by allowAntiAliase().
|
protected |
Definition at line 116 of file overlayobject.hxx.
Referenced by sdr::overlay::OverlayRectangle::OverlayRectangle().
|
protected |
Definition at line 100 of file overlayobject.hxx.
Referenced by setHittable().
|
protected |
Definition at line 97 of file overlayobject.hxx.
Referenced by setVisible().
|
private |
Definition at line 58 of file overlayobject.hxx.
Referenced by sdr::overlay::OverlayManager::add(), and sdr::overlay::OverlayManager::remove().