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());
void expand(const B2DTuple &rTuple)
Point LogicToLogic(const Point &rPtSource, const MapMode *pMapModeSource, const MapMode *pMapModeDest) const
bool isHitPixel(const Point &rDiscretePosition) const
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
const BorderLinePrimitive2D *pCandidateB assert(pCandidateA)
::std::vector< std::unique_ptr< OverlayObject > > maVector
MapUnit GetMapUnit() const
drawinglayer::geometry::ViewInformation2D const & getCurrentViewInformation2D() const
Point PixelToLogic(const Point &rDevicePt) const
OutputDevice & getOutputDevice() const
basegfx::B2DRange getBaseRange() const
bool isHitLogic(const basegfx::B2DPoint &rLogicPosition, double fLogicTolerance=0.0) const