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();
88 if(pCandidate->isHittable())
92 if(!rSequence.empty())
94 aHitTestProcessor2D.process(rSequence);
96 if(aHitTestProcessor2D.getHit())
123 return isHitLogic(aPosition, static_cast<double>(aSizeLogic.Width()));
136 aRetval.
expand(pCandidate->getBaseRange());
bool isHitPixel(const Point &rDiscretePosition) const
constexpr Point convert(const Point &rPoint, o3tl::Length eFrom, o3tl::Length eTo)
const MapMode & GetMapMode() const
void append(std::unique_ptr< OverlayObject > pOverlayObject)
#define DEFAULT_VALUE_FOR_HITTEST_PIXEL
#define DEFAULT_VALUE_FOR_HITTEST_TWIP
OverlayManager * getOverlayManager() const
::std::vector< std::unique_ptr< OverlayObject > > maVector
MapUnit GetMapUnit() const
drawinglayer::geometry::ViewInformation2D const & getCurrentViewInformation2D() const
SAL_WARN_UNUSED_RESULT Point PixelToLogic(const Point &rDevicePt) const
OutputDevice & getOutputDevice() const
basegfx::B2DRange getBaseRange() const
bool isHitLogic(const basegfx::B2DPoint &rLogicPosition, double fLogicTolerance=0.0) const
void expand(const Tuple2D< double > &rTuple)