61 if(pE3dCompoundObject)
82 pResult =
const_cast< SdrObject*
>(&rObject);
104 while(!pRetval && nObjNum > 0)
129 if(rLogicHitTolerance.
getX() > 0 || rLogicHitTolerance.
getY() > 0)
131 aObjectRange.
grow(rLogicHitTolerance);
134 if(aObjectRange.
isInside(rHitPosition))
141 if(!aSequence.empty())
155 aHitTestProcessor2D.
process(aSequence);
158 if (aHitTestProcessor2D.
getHit())
163 *pHitContainer = aHitTestProcessor2D.
getHitStack();
constexpr tools::Long Y() const
constexpr tools::Long X() const
bool IsSet(SdrLayerID a) const
SdrObject * GetObj(size_t nNum) const
size_t GetObjCount() const
virtual SdrObjList * GetSubList() const
sdr::contact::ViewContact & GetViewContact() const
virtual SdrLayerID GetLayer() const
sal_uInt32 PageWindowCount() const
SdrPageWindow * GetPageWindow(sal_uInt32 nIndex) const
const sdr::contact::ObjectContact & GetObjectContact() const
bool isInside(const Tuple2D< TYPE > &rTuple) const
void process(const primitive2d::Primitive2DContainer &rSource)
void collectHitStack(bool bCollect)
const primitive2d::Primitive2DContainer & getHitStack() const
bool checkHitSingle3DObject(const basegfx::B2DPoint &rPoint, const E3dCompoundObject &rCandidate)
support for checking if the single given 3d object is hit at position
SdrObject * SdrObjectPrimitiveHit(const SdrObject &rObject, const Point &rPnt, const basegfx::B2DVector &rHitTolerance, const SdrPageView &rSdrPageView, const SdrLayerIDSet *pVisiLayer, bool bTextOnly, drawinglayer::primitive2d::Primitive2DContainer *pHitContainer)
bool ViewObjectContactPrimitiveHit(const sdr::contact::ViewObjectContact &rVOC, const basegfx::B2DPoint &rHitPosition, const basegfx::B2DVector &rLogicHitTolerance, bool bTextOnly, drawinglayer::primitive2d::Primitive2DContainer *pHitContainer)
SdrObject * SdrObjListPrimitiveHit(const SdrObjList &rList, const Point &rPnt, const basegfx::B2DVector &rHitTolerance, const SdrPageView &rSdrPageView, const SdrLayerIDSet *pVisiLayer, bool bTextOnly)