28#define DEFAULT_VALUE_FOR_HITTEST_PIXEL (2)
29#define DEFAULT_VALUE_FOR_HITTEST_TWIP (30)
42 if(pCandidate->getOverlayManager())
43 pCandidate->getOverlayManager()->remove(*pCandidate);
50 assert(pOverlayObject &&
"tried to add invalid OverlayObject to OverlayObjectList");
51 maVector.push_back(std::move(pOverlayObject));
63 if(0.0 == fLogicTolerance)
76 fLogicTolerance = aSizeLogic.
Width();
83 {fLogicTolerance, fLogicTolerance},
88 if(pCandidate->isHittable())
92 if(!rSequence.empty())
94 aHitTestProcessor2D.process(rSequence);
96 if(aHitTestProcessor2D.getHit())
136 aRetval.
expand(pCandidate->getBaseRange());
MapUnit GetMapUnit() const
SAL_WARN_UNUSED_RESULT Point PixelToLogic(const Point &rDevicePt) const
const MapMode & GetMapMode() const
constexpr tools::Long Y() const
constexpr tools::Long X() const
constexpr tools::Long Width() const
void expand(const Tuple2D< TYPE > &rTuple)
drawinglayer::geometry::ViewInformation2D const & getCurrentViewInformation2D() const
OutputDevice & getOutputDevice() const
bool isHitPixel(const Point &rDiscretePosition) const
void append(std::unique_ptr< OverlayObject > pOverlayObject)
basegfx::B2DRange getBaseRange() const
::std::vector< std::unique_ptr< OverlayObject > > maVector
bool isHitLogic(const basegfx::B2DPoint &rLogicPosition, double fLogicTolerance=0.0) const
OverlayManager * getOverlayManager() const
constexpr Point convert(const Point &rPoint, o3tl::Length eFrom, o3tl::Length eTo)
#define DEFAULT_VALUE_FOR_HITTEST_TWIP
#define DEFAULT_VALUE_FOR_HITTEST_PIXEL