LibreOffice Module sw (master) 1
|
#include <ShadowOverlayObject.hxx>
Public Member Functions | |
virtual | ~ShadowOverlayObject () override |
void | SetShadowState (ShadowState aState) |
ShadowState | GetShadowState () const |
void | SetPosition (const basegfx::B2DPoint &rPoint1, const basegfx::B2DPoint &rPoint2) |
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 |
Static Public Member Functions | |
static std::unique_ptr< ShadowOverlayObject > | CreateShadowOverlayObject (SwView const &rDocView) |
Protected Member Functions | |
virtual drawinglayer::primitive2d::Primitive2DContainer | createOverlayObjectPrimitive2DSequence () override |
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) |
Private Member Functions | |
ShadowOverlayObject (const basegfx::B2DPoint &rBasePos, const basegfx::B2DPoint &rSecondPosition, Color aBaseColor) | |
Private Attributes | |
basegfx::B2DPoint | maSecondPosition |
ShadowState | mShadowState |
Additional Inherited Members | |
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 |
bool | mbIsHittable |
bool | mbAllowsAnimation |
bool | mbAllowsAntiAliase |
bool | mbHighContrastSelection |
Definition at line 39 of file ShadowOverlayObject.hxx.
|
private |
Definition at line 191 of file ShadowOverlayObject.cxx.
Referenced by CreateShadowOverlayObject().
|
overridevirtual |
Definition at line 200 of file ShadowOverlayObject.cxx.
References sdr::overlay::OverlayObject::getOverlayManager(), and sdr::overlay::OverlayManager::remove().
|
overrideprotectedvirtual |
Reimplemented from sdr::overlay::OverlayObject.
Definition at line 208 of file ShadowOverlayObject.cxx.
References sdr::overlay::OverlayObjectWithBasePosition::getBasePosition(), GetShadowState(), and maSecondPosition.
|
static |
Definition at line 167 of file ShadowOverlayObject.cxx.
References SwView::GetDrawView(), SdrPaintWindow::GetOverlayManager(), SdrPaintView::GetPaintWindow(), and ShadowOverlayObject().
Referenced by sw::annotation::SwAnnotationWin::SwAnnotationWin().
|
inline |
Definition at line 57 of file ShadowOverlayObject.hxx.
References mShadowState.
Referenced by createOverlayObjectPrimitive2DSequence(), and SwPostItMgr::SetShadowState().
void sw::sidebarwindows::ShadowOverlayObject::SetPosition | ( | const basegfx::B2DPoint & | rPoint1, |
const basegfx::B2DPoint & | rPoint2 | ||
) |
Definition at line 227 of file ShadowOverlayObject.cxx.
References basegfx::Tuple2D< typename TYPE >::equal(), sdr::overlay::OverlayObjectWithBasePosition::getBasePosition(), sdr::overlay::OverlayObjectWithBasePosition::maBasePosition, maSecondPosition, and sdr::overlay::OverlayObject::objectChange().
void sw::sidebarwindows::ShadowOverlayObject::SetShadowState | ( | ShadowState | aState | ) |
Definition at line 217 of file ShadowOverlayObject.cxx.
References mShadowState, and sdr::overlay::OverlayObject::objectChange().
|
private |
Definition at line 46 of file ShadowOverlayObject.hxx.
Referenced by createOverlayObjectPrimitive2DSequence(), and SetPosition().
|
private |
Definition at line 47 of file ShadowOverlayObject.hxx.
Referenced by GetShadowState(), and SetShadowState().