32 default :
return PointerStyle::Move;
39 bool bXHit=rPnt.X()>=
aPos.X()-nTolLog && rPnt.X()<=
aPos.X()+nTolLog+a1Pix.Width();
40 bool bYHit=rPnt.Y()>=
aPos.Y()-nTolLog && rPnt.Y()<=
aPos.Y()+nTolLog+a1Pix.Height();
47 return rPnt.X()>=
aPos.X()-aRad.Width() && rPnt.X()<=
aPos.X()+aRad.Width()+a1Pix.Width() &&
48 rPnt.Y()>=
aPos.Y()-aRad.Height() && rPnt.Y()<=
aPos.Y()+aRad.Height()+a1Pix.Height();
78 for (sal_uInt16
i=0;
i<nCount;
i++) {
90 for (sal_uInt16
i=0;
i<nCount && bEqual;
i++) {
102 for (sal_uInt16
i=nCount;
i>0;) {
104 if (
aList[
i]->IsHit(rPnt,nTolLog,rOut))
return i;
bool operator==(const SdrHelpLineList &rCmp) const
void Insert(const SdrHelpLine &rHL)
const MapMode & GetMapMode() const
tools::Rectangle GetBoundRect(const OutputDevice &rOut) const
bool IsHit(const Point &rPnt, sal_uInt16 nTolLog, const OutputDevice &rOut) const
sal_uInt16 HitTest(const Point &rPnt, sal_uInt16 nTolLog, const OutputDevice &rOut) const
PointerStyle GetPointer() const
SdrHelpLineList & operator=(const SdrHelpLineList &rSrcList)
Size GetOutputSize() const
std::vector< std::unique_ptr< SdrHelpLine > > aList
sal_uInt16 GetCount() const
SAL_WARN_UNUSED_RESULT Point PixelToLogic(const Point &rDevicePt) const
#define SDRHELPLINE_NOTFOUND
const Point & GetOrigin() const
#define SDRHELPLINE_POINT_PIXELSIZE