LibreOffice Module sw (master) 1
|
#include <OverlayRanges.hxx>
Public Member Functions | |
virtual | ~OverlayRanges () override |
const std::vector< basegfx::B2DRange > & | getRanges () const |
void | setRanges (std::vector< basegfx::B2DRange > &&rNew) |
void | ShowSolidBorder () |
void | HideSolidBorder () |
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< OverlayRanges > | CreateOverlayRange (SwView const &rDocView, const Color &rColor, std::vector< basegfx::B2DRange > &&rRanges, const bool bShowSolidBorder) |
Private Member Functions | |
OverlayRanges (const Color &rColor, std::vector< basegfx::B2DRange > &&rRanges, const bool bShowSolidBorder) | |
virtual drawinglayer::primitive2d::Primitive2DContainer | createOverlayObjectPrimitive2DSequence () override |
Private Attributes | |
std::vector< basegfx::B2DRange > | maRanges |
bool | mbShowSolidBorder |
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 |
bool | mbIsHittable |
bool | mbAllowsAnimation |
bool | mbAllowsAntiAliase |
bool | mbHighContrastSelection |
Definition at line 32 of file OverlayRanges.hxx.
|
overridevirtual |
Definition at line 139 of file OverlayRanges.cxx.
References sdr::overlay::OverlayObject::getOverlayManager(), and sdr::overlay::OverlayManager::remove().
|
private |
Definition at line 127 of file OverlayRanges.cxx.
References sdr::overlay::OverlayObject::allowAntiAliase().
|
overrideprivatevirtual |
Reimplemented from sdr::overlay::OverlayObject.
Definition at line 62 of file OverlayRanges.cxx.
References a, basegfx::utils::createPolygonFromRect(), sdr::overlay::OverlayObject::getBaseColor(), getRanges(), SvtOptionsDrawinglayer::GetTransparentSelectionPercent(), maRanges, mbShowSolidBorder, nCount, and size.
|
static |
Definition at line 103 of file OverlayRanges.cxx.
References SwView::GetDrawView(), SdrPaintWindow::GetOverlayManager(), and SdrPaintView::GetPaintWindow().
Referenced by sw::annotation::SwAnnotationWin::SetPosAndSize().
|
inline |
Definition at line 44 of file OverlayRanges.hxx.
References maRanges.
Referenced by createOverlayObjectPrimitive2DSequence().
void sw::overlay::OverlayRanges::HideSolidBorder | ( | ) |
Definition at line 165 of file OverlayRanges.cxx.
References mbShowSolidBorder, and sdr::overlay::OverlayObject::objectChange().
Referenced by sw::annotation::SwAnnotationWin::SetViewState().
void sw::overlay::OverlayRanges::setRanges | ( | std::vector< basegfx::B2DRange > && | rNew | ) |
Definition at line 147 of file OverlayRanges.cxx.
References maRanges, and sdr::overlay::OverlayObject::objectChange().
void sw::overlay::OverlayRanges::ShowSolidBorder | ( | ) |
Definition at line 156 of file OverlayRanges.cxx.
References mbShowSolidBorder, and sdr::overlay::OverlayObject::objectChange().
|
private |
Definition at line 65 of file OverlayRanges.hxx.
Referenced by createOverlayObjectPrimitive2DSequence(), getRanges(), and setRanges().
|
private |
Definition at line 66 of file OverlayRanges.hxx.
Referenced by createOverlayObjectPrimitive2DSequence(), HideSolidBorder(), and ShowSolidBorder().