LibreOffice Module svx (master) 1
|
#include <overlayselection.hxx>
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 |
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 | |
OverlayType | meOverlayType |
std::vector< basegfx::B2DRange > | maRanges |
OverlayType | maLastOverlayType |
sal_uInt16 | mnLastTransparence |
bool | mbBorder: 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::OverlayObject | |
basegfx::B2DRange | maBaseRange |
Color | maBaseColor |
bool | mbIsVisible: 1 |
bool | mbIsHittable: 1 |
bool | mbAllowsAnimation: 1 |
bool | mbAllowsAntiAliase: 1 |
bool | mbHighContrastSelection: 1 |
Definition at line 36 of file overlayselection.hxx.
sdr::overlay::OverlaySelection::OverlaySelection | ( | OverlayType | eType, |
const Color & | rColor, | ||
std::vector< basegfx::B2DRange > && | rRanges, | ||
bool | bBorder | ||
) |
Definition at line 157 of file overlayselection.cxx.
References sdr::overlay::OverlayObject::allowAntiAliase().
|
overridevirtual |
Definition at line 173 of file overlayselection.cxx.
References sdr::overlay::OverlayObject::getOverlayManager(), and sdr::overlay::OverlayManager::remove().
|
overrideprivatevirtual |
Reimplemented from sdr::overlay::OverlayObject.
Definition at line 91 of file overlayselection.cxx.
References a, basegfx::utils::createPolygonFromRect(), sdr::overlay::OverlayObject::getBaseColor(), getRanges(), sdr::overlay::impCombineRangesToPolyPolygon(), sdr::overlay::Invert, maLastOverlayType, maRanges, mbBorder, mnLastTransparence, nCount, size, and sdr::overlay::Transparent.
|
overridevirtual |
override to check conditions for last createOverlayObjectPrimitive2DSequence
Reimplemented from sdr::overlay::OverlayObject.
Definition at line 181 of file overlayselection.cxx.
References sdr::overlay::OverlayObject::getOverlayObjectPrimitive2DSequence(), sdr::overlay::OverlayObject::getPrimitive2DSequence(), SvtOptionsDrawinglayer::GetTransparentSelectionPercent(), sdr::overlay::impCheckPossibleOverlayType(), maLastOverlayType, meOverlayType, mnLastTransparence, and sdr::overlay::OverlayObject::resetPrimitive2DSequence().
Referenced by WeldEditView::DoPaint().
|
inline |
Definition at line 64 of file overlayselection.hxx.
Referenced by createOverlayObjectPrimitive2DSequence().
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().
|
private |
Definition at line 47 of file overlayselection.hxx.
Referenced by createOverlayObjectPrimitive2DSequence(), and getOverlayObjectPrimitive2DSequence().
|
private |
Definition at line 42 of file overlayselection.hxx.
Referenced by createOverlayObjectPrimitive2DSequence(), and setRanges().
|
private |
Definition at line 50 of file overlayselection.hxx.
Referenced by createOverlayObjectPrimitive2DSequence().
|
private |
Definition at line 39 of file overlayselection.hxx.
Referenced by getOverlayObjectPrimitive2DSequence().
|
private |
Definition at line 48 of file overlayselection.hxx.
Referenced by createOverlayObjectPrimitive2DSequence(), and getOverlayObjectPrimitive2DSequence().