LibreOffice Module svx (master) 1
|
#include <svx/svxdllapi.h>
Go to the source code of this file.
Namespaces | |
namespace | sdr |
namespace | sdr::contact |
namespace | basegfx |
namespace | drawinglayer |
namespace | drawinglayer::primitive2d |
Functions | |
SVXCORE_DLLPUBLIC SdrObject * | SdrObjectPrimitiveHit (const SdrObject &rObject, const Point &rPnt, const basegfx::B2DVector &rHitTolerance, const SdrPageView &rSdrPageView, const SdrLayerIDSet *pVisiLayer, bool bTextOnly, drawinglayer::primitive2d::Primitive2DContainer *pHitContainer=nullptr) |
SVXCORE_DLLPUBLIC SdrObject * | SdrObjListPrimitiveHit (const SdrObjList &rList, const Point &rPnt, const basegfx::B2DVector &rHitTolerance, const SdrPageView &rSdrPageView, const SdrLayerIDSet *pVisiLayer, bool bTextOnly) |
bool | ViewObjectContactPrimitiveHit (const sdr::contact::ViewObjectContact &rVOC, const basegfx::B2DPoint &rHitPosition, const basegfx::B2DVector &rLogicHitTolerance, bool bTextOnly, drawinglayer::primitive2d::Primitive2DContainer *pHitContainer) |
SVXCORE_DLLPUBLIC SdrObject * SdrObjectPrimitiveHit | ( | const SdrObject & | rObject, |
const Point & | rPnt, | ||
const basegfx::B2DVector & | rHitTolerance, | ||
const SdrPageView & | rSdrPageView, | ||
const SdrLayerIDSet * | pVisiLayer, | ||
bool | bTextOnly, | ||
drawinglayer::primitive2d::Primitive2DContainer * | pHitContainer = nullptr |
||
) |
pHitContainer | allow getting back an evtl. resulting primitive stack which lead to a hit |
Definition at line 36 of file sdrhittesthelper.cxx.
References checkHitSingle3DObject(), SdrObject::GetLayer(), SdrObjList::GetObjCount(), SdrPageWindow::GetObjectContact(), SdrPageView::GetPageWindow(), SdrObject::GetSubList(), SdrObject::GetViewContact(), sdr::contact::ViewContact::GetViewObjectContact(), SdrLayerIDSet::IsSet(), SdrObject::IsVisible(), SdrPageView::PageWindowCount(), SdrObjListPrimitiveHit(), ViewObjectContactPrimitiveHit(), Point::X(), and Point::Y().
Referenced by SdrCaptionObj::beginSpecialDrag(), SdrObject::CheckMacroHit(), SdrMarkView::CheckSingleSdrObjectHit(), SdrEdgeObj::ImpFindConnector(), SdrView::PickAnything(), and SdrObjListPrimitiveHit().
SVXCORE_DLLPUBLIC SdrObject * SdrObjListPrimitiveHit | ( | const SdrObjList & | rList, |
const Point & | rPnt, | ||
const basegfx::B2DVector & | rHitTolerance, | ||
const SdrPageView & | rSdrPageView, | ||
const SdrLayerIDSet * | pVisiLayer, | ||
bool | bTextOnly | ||
) |
Definition at line 93 of file sdrhittesthelper.cxx.
References SdrObjList::GetObj(), SdrObjList::GetObjCount(), and SdrObjectPrimitiveHit().
Referenced by SvxGraphCtrlAccessibleContext::getAccessibleAtPoint(), and SdrObjectPrimitiveHit().
bool ViewObjectContactPrimitiveHit | ( | const sdr::contact::ViewObjectContact & | rVOC, |
const basegfx::B2DPoint & | rHitPosition, | ||
const basegfx::B2DVector & | rLogicHitTolerance, | ||
bool | bTextOnly, | ||
drawinglayer::primitive2d::Primitive2DContainer * | pHitContainer | ||
) |
pHitContainer | allow to get back the stack of primitives that lead to the hit |
Definition at line 116 of file sdrhittesthelper.cxx.
References drawinglayer::processor2d::HitTestProcessor2D::collectHitStack(), drawinglayer::processor2d::HitTestProcessor2D::getHit(), drawinglayer::processor2d::HitTestProcessor2D::getHitStack(), sdr::contact::ViewObjectContact::GetObjectContact(), sdr::contact::ViewObjectContact::getObjectRange(), sdr::contact::ViewObjectContact::getPrimitive2DSequence(), sdr::contact::ObjectContact::getViewInformation2D(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), basegfx::Range2D< typename TYPE, typename TRAITS >::grow(), basegfx::Range2D< typename TYPE, typename TRAITS >::isEmpty(), basegfx::Range2D< typename TYPE, typename TRAITS >::isInside(), and drawinglayer::processor2d::BaseProcessor2D::process().
Referenced by SdrObjectPrimitiveHit().