LibreOffice Module svx (master) 1
|
#include <overlayobjectlist.hxx>
Public Member Functions | |
OverlayObjectList () | |
OverlayObjectList (const OverlayObjectList &)=delete | |
OverlayObjectList & | operator= (const OverlayObjectList &)=delete |
~OverlayObjectList () | |
void | clear () |
void | append (std::unique_ptr< OverlayObject > pOverlayObject) |
sal_uInt32 | count () const |
OverlayObject & | getOverlayObject (sal_uInt32 nIndex) const |
bool | isHitLogic (const basegfx::B2DPoint &rLogicPosition, double fLogicTolerance=0.0) const |
bool | isHitPixel (const Point &rDiscretePosition) const |
basegfx::B2DRange | getBaseRange () const |
Private Attributes | |
::std::vector< std::unique_ptr< OverlayObject > > | maVector |
Definition at line 34 of file overlayobjectlist.hxx.
|
inline |
Definition at line 40 of file overlayobjectlist.hxx.
|
delete |
sdr::overlay::OverlayObjectList::~OverlayObjectList | ( | ) |
Definition at line 33 of file overlayobjectlist.cxx.
References clear().
void sdr::overlay::OverlayObjectList::append | ( | std::unique_ptr< OverlayObject > | pOverlayObject | ) |
Definition at line 48 of file overlayobjectlist.cxx.
References maVector.
Referenced by ImpSdrCreateViewExtraData::CreateAndShowOverlay(), ImplConnectMarkerOverlay::ImplConnectMarkerOverlay(), SdrDropMarkerOverlay::ImplCreateOverlays(), ImplHelpLineOverlay::ImplHelpLineOverlay(), ImplMarkingOverlay::ImplMarkingOverlay(), ImplPageOriginOverlay::ImplPageOriginOverlay(), SdrDragMethod::insertNewlyCreatedOverlayObjectForSdrDragMethod(), SdrHdl::insertNewlyCreatedOverlayObjectForSdrHdl(), MarkingSubSelectionOverlay::MarkingSubSelectionOverlay(), SdrObjEditView::SdrBeginTextEdit(), and Impl3DMirrorConstructOverlay::SetMirrorAxis().
void sdr::overlay::OverlayObjectList::clear | ( | ) |
Definition at line 38 of file overlayobjectlist.cxx.
References maVector.
Referenced by SdrDragMethod::destroyOverlayGeometry(), SdrHdl::GetRidOfIAObject(), ImpSdrCreateViewExtraData::HideOverlay(), SdrObjEditView::SdrEndTextEdit(), Impl3DMirrorConstructOverlay::SetMirrorAxis(), and ~OverlayObjectList().
|
inline |
Definition at line 52 of file overlayobjectlist.hxx.
Referenced by SdrObjEditView::EditViewInvalidate(), SdrObjEditView::EditViewSelectionChange(), ImplPageOriginOverlay::SetPosition(), ImplHelpLineOverlay::SetPosition(), and ImplMarkingOverlay::SetSecondPosition().
basegfx::B2DRange sdr::overlay::OverlayObjectList::getBaseRange | ( | ) | const |
Definition at line 130 of file overlayobjectlist.cxx.
References basegfx::Range2D< typename TYPE, typename TRAITS >::expand(), and maVector.
Referenced by SdrDragMethod::getCurrentRange().
|
inline |
Definition at line 53 of file overlayobjectlist.hxx.
References nIndex.
Referenced by SdrObjEditView::EditViewInvalidate(), SdrObjEditView::EditViewSelectionChange(), ImplPageOriginOverlay::SetPosition(), ImplHelpLineOverlay::SetPosition(), and ImplMarkingOverlay::SetSecondPosition().
bool sdr::overlay::OverlayObjectList::isHitLogic | ( | const basegfx::B2DPoint & | rLogicPosition, |
double | fLogicTolerance = 0.0 |
||
) | const |
Definition at line 54 of file overlayobjectlist.cxx.
References o3tl::convert(), DEFAULT_VALUE_FOR_HITTEST_PIXEL, DEFAULT_VALUE_FOR_HITTEST_TWIP, sdr::overlay::OverlayManager::getCurrentViewInformation2D(), OutputDevice::GetMapMode(), MapMode::GetMapUnit(), sdr::overlay::OverlayManager::getOutputDevice(), sdr::overlay::OverlayObject::getOverlayManager(), comphelper::LibreOfficeKit::isActive(), maVector, o3tl::mm100, OutputDevice::PixelToLogic(), o3tl::twip, and Size::Width().
Referenced by SdrDragGradient::BeginSdrDrag(), SdrHdl::IsHdlHit(), and isHitPixel().
bool sdr::overlay::OverlayObjectList::isHitPixel | ( | const Point & | rDiscretePosition | ) | const |
Definition at line 109 of file overlayobjectlist.cxx.
References DEFAULT_VALUE_FOR_HITTEST_PIXEL, sdr::overlay::OverlayManager::getOutputDevice(), sdr::overlay::OverlayObject::getOverlayManager(), isHitLogic(), maVector, OutputDevice::PixelToLogic(), Size::Width(), Point::X(), and Point::Y().
|
delete |
|
private |
Definition at line 37 of file overlayobjectlist.hxx.
Referenced by append(), clear(), getBaseRange(), isHitLogic(), and isHitPixel().