Home
last modified time | relevance | path

Searched refs:rPnt (Results 1 – 25 of 89) sorted by relevance

1234

/aoo41x/main/svx/inc/svx/
H A Dsvdtrans.hxx61 inline void MovePoint(Point& rPnt, const Size& S) { rPnt.X()+=S.Width(); rPnt.Y()+=S.Height(… in MovePoint() argument
128rPnt.X()=rRef.X()+ Round(((double)(rPnt.X()-rRef.X())*xFact.GetNumerator())/xFact.GetDenominator()… in ResizePoint()
134 long dx=rPnt.X()-rRef.X(); in RotatePoint()
135 long dy=rPnt.Y()-rRef.Y(); in RotatePoint()
144 rPnt.X()-=Round((rPnt.Y()-rRef.Y())*tn); in ShearPoint()
148 rPnt.Y()-=Round((rPnt.X()-rRef.X())*tn); in ShearPoint()
157 long dy=rPnt.Y()-rCenter.Y(); in GetCrookAngle()
159 rPnt.Y()=rCenter.Y(); in GetCrookAngle()
161 long dx=rCenter.X()-rPnt.X(); in GetCrookAngle()
163 rPnt.X()=rCenter.X(); in GetCrookAngle()
[all …]
H A Dsvdmrkv.hxx197 virtual void MovAction(const Point& rPnt);
212 sal_Bool BegMarkObj(const Point& rPnt, sal_Bool bUnmark = sal_False);
213 void MovMarkObj(const Point& rPnt);
249 SdrHitKind PickSomething(const Point& rPnt, short nTol=-2) const;
295 sal_Bool IsMarkedHit(const Point& rPnt, short nTol=-2) const { return IsMarkedObjHit(rPnt,nTol); } in IsMarkedHit() argument
296 sal_Bool IsMarkedObjHit(const Point& rPnt, short nTol=-2) const;
388 sal_Bool MarkNextPoint(const Point& rPnt, sal_Bool bPrev=sal_False);
399 sal_Bool BegMarkPoints(const Point& rPnt, sal_Bool bUnmark = sal_False);
400 void MovMarkPoints(const Point& rPnt);
460 sal_Bool MarkNextGluePoint(const Point& rPnt, sal_Bool bPrev=sal_False);
[all …]
H A Dsvddrgv.hxx101 …sal_Bool ImpBegInsObjPoint(sal_Bool bIdxZwang, sal_uInt32 nIdx, const Point& rPnt, sal_Bool bNewOb…
110 virtual void MovAction(const Point& rPnt);
131 …virtual sal_Bool BegDragObj(const Point& rPnt, OutputDevice* pOut=NULL, SdrHdl* pHdl=NULL, short n…
132 void MovDragObj(const Point& rPnt);
153 …sal_Bool BegInsObjPoint(const Point& rPnt, sal_Bool bNewObj) { return ImpBegInsObjPoint(sal_False,… in BegInsObjPoint() argument
154 void MovInsObjPoint(const Point& rPnt) { MovDragObj(rPnt); } in MovInsObjPoint() argument
165 sal_Bool BegInsGluePoint(const Point& rPnt);
166 void MovInsGluePoint(const Point& rPnt) { MovDragObj(rPnt); } in MovInsGluePoint() argument
H A Dsvdhdl.hxx202 SdrHdl(const Point& rPnt, SdrHdlKind eNewKind=HDL_MOVE);
212 void SetPos(const Point& rPnt);
245 bool IsHdlHit(const Point& rPnt) const;
341 void Set2ndPos(const Point& rPnt);
415 ImpEdgeHdl(const Point& rPnt, SdrHdlKind eNewKind): SdrHdl(rPnt,eNewKind),eLineCode(MIDDLELINE) {} in ImpEdgeHdl() argument
432 ImpMeasureHdl(const Point& rPnt, SdrHdlKind eNewKind): SdrHdl(rPnt,eNewKind) {} in ImpMeasureHdl() argument
514 …SdrHdl* IsHdlListHit(const Point& rPnt, sal_Bool bBack=sal_False, sal_Bool bNext=sal_False, SdrHdl…
530 const Point& rPnt,
H A Dsvdsnpv.hxx115 virtual void MovAction(const Point& rPnt);
138 sal_uInt16 SnapPos(Point& rPnt, const SdrPageView* pPV) const;
139 Point GetSnapPos(const Point& rPnt, const SdrPageView* pPV) const;
182 sal_Bool BegSetPageOrg(const Point& rPnt);
183 void MovSetPageOrg(const Point& rPnt);
190 …sal_Bool PickHelpLine(const Point& rPnt, short nTol, const OutputDevice& rOut, sal_uInt16& rnHelpL…
195 sal_Bool BegDragHelpLine(const Point& rPnt, SdrHelpLineKind eNewKind);
200 void MovDragHelpLine(const Point& rPnt);
H A Dsvdcrtv.hxx88 …sal_Bool ImpBegCreateObj(sal_uInt32 nInvent, sal_uInt16 nIdent, const Point& rPnt, OutputDevice* p…
102 virtual void MovAction(const Point& rPnt);
137 …sal_Bool BegCreateObj(const Point& rPnt, OutputDevice* pOut=NULL, short nMinMov=-3, SdrPageView* p…
138 …sal_Bool BegCreatePreparedObject(const Point& rPnt, sal_Int16 nMinMov, SdrObject* pPreparedFactory…
139 void MovCreateObj(const Point& rPnt);
149 …sal_Bool BegCreateCaptionObj(const Point& rPnt, const Size& rObjSiz, OutputDevice* pOut=NULL, shor…
H A Dsvdogrp.hxx69 virtual void SetRefPoint(const Point& rPnt);
96 virtual void SetAnchorPos(const Point& rPnt);
97 virtual void SetRelativePos(const Point& rPnt);
106 virtual void NbcSetAnchorPos(const Point& rPnt);
107 virtual void NbcSetRelativePos(const Point& rPnt);
H A Dsvdobj.hxx598 virtual void SetRefPoint(const Point& rPnt);
789 virtual void NbcSetRelativePos(const Point& rPnt);
790 virtual void SetRelativePos(const Point& rPnt);
792 void ImpSetAnchorPos(const Point& rPnt) { aAnchor=rPnt; } in ImpSetAnchorPos() argument
793 virtual void NbcSetAnchorPos(const Point& rPnt);
794 virtual void SetAnchorPos(const Point& rPnt);
837 void SetPoint(const Point& rPnt, sal_uInt32 i);
838 virtual void NbcSetPoint(const Point& rPnt, sal_uInt32 i);
/aoo41x/main/basegfx/inc/basegfx/point/
H A Db3dhompoint.hxx241 maTuple.setX(getX() * rPnt.mfW + rPnt.getX() * mfW); in operator +=()
242 maTuple.setY(getY() * rPnt.mfW + rPnt.getY() * mfW); in operator +=()
243 maTuple.setZ(getZ() * rPnt.mfW + rPnt.getZ() * mfW); in operator +=()
244 mfW = mfW * rPnt.mfW; in operator +=()
251 maTuple.setX(getX() * rPnt.mfW - rPnt.getX() * mfW); in operator -=()
252 maTuple.setY(getY() * rPnt.mfW - rPnt.getY() * mfW); in operator -=()
253 maTuple.setZ(getZ() * rPnt.mfW - rPnt.getZ() * mfW); in operator -=()
254 mfW = mfW * rPnt.mfW; in operator -=()
284 return (maTuple == rPnt.maTuple); in operator ==()
295 maTuple = rPnt.maTuple; in operator =()
[all …]
H A Db2dhompoint.hxx210 maTuple.setX(getX() * rPnt.mfW + rPnt.getX() * mfW); in operator +=()
211 maTuple.setY(getY() * rPnt.mfW + rPnt.getY() * mfW); in operator +=()
212 mfW = mfW * rPnt.mfW; in operator +=()
219 maTuple.setX(getX() * rPnt.mfW - rPnt.getX() * mfW); in operator -=()
220 maTuple.setY(getY() * rPnt.mfW - rPnt.getY() * mfW); in operator -=()
221 mfW = mfW * rPnt.mfW; in operator -=()
250 inline bool operator==( const B2DHomPoint& rPnt ) const in operator ==()
253 return (maTuple == rPnt.maTuple); in operator ==()
259 return (maTuple != rPnt.maTuple); in operator !=()
264 maTuple = rPnt.maTuple; in operator =()
[all …]
/aoo41x/main/svx/source/svdraw/
H A Dsvdtrans.cxx170 rPnt.X()+=2*dx; in MirrorPoint()
173 rPnt.Y()+=2*dy; in MirrorPoint()
188 rPnt-=rRef1; in MirrorPoint()
195 rPnt+=rRef1; in MirrorPoint()
282 long x0=rPnt.X(); in CrookRotateXPoint()
283 long y0=rPnt.Y(); in CrookRotateXPoint()
336 long x0=rPnt.X(); in CrookSlantXPoint()
337 long y0=rPnt.Y(); in CrookSlantXPoint()
373 rPnt.X()+=dx1; in CrookSlantXPoint()
377 rPnt.Y()+=dy1; in CrookSlantXPoint()
[all …]
H A Dsvdsnpv.cxx265 MovSetPageOrg(rPnt); in MovAction()
268 MovDragHelpLine(rPnt); in MovAction()
310 Point aPt(rPnt); in GetSnapPos()
320 long x=rPnt.X(); in SnapPos()
321 long y=rPnt.Y(); in SnapPos()
393 if (aRect.IsInside(rPnt)) { in SnapPos()
463 rPnt.X()=x+dx; in SnapPos()
464 rPnt.Y()=y+dy; in SnapPos()
522 basegfx::B2DPoint aStartPos(rPnt.X(), rPnt.Y()); in BegSetPageOrg()
582 Point aPnt(rPnt); in PickHelpLine()
[all …]
H A Dsvdmrkv.cxx248 MovMarkObj(rPnt); in MovAction()
355 basegfx::B2DPoint aStartPos(rPnt.X(), rPnt.Y()); in BegMarkObj()
371 basegfx::B2DPoint aNewPos(rPnt.X(), rPnt.Y()); in MovMarkObj()
416 basegfx::B2DPoint aStartPos(rPnt.X(), rPnt.Y()); in BegMarkPoints()
436 basegfx::B2DPoint aNewPos(rPnt.X(), rPnt.Y()); in MovMarkPoints()
482 basegfx::B2DPoint aStartPos(rPnt.X(), rPnt.Y()); in BegMarkGluePoints()
502 basegfx::B2DPoint aNewPos(rPnt.X(), rPnt.Y()); in MovMarkGluePoints()
1363 Point aPt(rPnt); in IsMarkedObjHit()
1378 Point aPt(rPnt); in PickHandle()
1456 Point aPt(rPnt); in MarkNextObj()
[all …]
H A Dsvdhlpln.cxx46 FASTBOOL SdrHelpLine::IsHit(const Point& rPnt, sal_uInt16 nTolLog, const OutputDevice& rOut) const in IsHit() argument
49 FASTBOOL bXHit=rPnt.X()>=aPos.X()-nTolLog && rPnt.X()<=aPos.X()+nTolLog+a1Pix.Width(); in IsHit()
50 FASTBOOL bYHit=rPnt.Y()>=aPos.Y()-nTolLog && rPnt.Y()<=aPos.Y()+nTolLog+a1Pix.Height(); in IsHit()
57 return rPnt.X()>=aPos.X()-aRad.Width() && rPnt.X()<=aPos.X()+aRad.Width()+a1Pix.Width() && in IsHit()
58 rPnt.Y()>=aPos.Y()-aRad.Height() && rPnt.Y()<=aPos.Y()+aRad.Height()+a1Pix.Height(); in IsHit()
135 sal_uInt16 SdrHelpLineList::HitTest(const Point& rPnt, sal_uInt16 nTolLog, const OutputDevice& rOut… in HitTest() argument
140 if (GetObject(i)->IsHit(rPnt,nTolLog,rOut)) return i; in HitTest()
H A Dsvdogrp.cxx254 void SdrObjGroup::SetRefPoint(const Point& rPnt) in SetRefPoint() argument
257 aRefPoint=rPnt; in SetRefPoint()
539 aAnchor=rPnt; in NbcSetAnchorPos()
540 Size aSiz(rPnt.X()-aAnchor.X(),rPnt.Y()-aAnchor.Y()); in NbcSetAnchorPos()
546 pObj->NbcSetAnchorPos(rPnt); in NbcSetAnchorPos()
738 void SdrObjGroup::SetAnchorPos(const Point& rPnt) in SetAnchorPos() argument
741 FASTBOOL bChg=aAnchor!=rPnt; in SetAnchorPos()
742 aAnchor=rPnt; in SetAnchorPos()
743 Size aSiz(rPnt.X()-aAnchor.X(),rPnt.Y()-aAnchor.Y()); in SetAnchorPos()
769 Size aSiz(rPnt.X()-aRelPos0.X(),rPnt.Y()-aRelPos0.Y()); in NbcSetRelativePos()
[all …]
H A Dsvddrag.cxx65 void SdrDragStat::Reset(const Point& rPnt) in Reset() argument
68 Start()=rPnt; in Reset()
69 aPos0=rPnt; in Reset()
70 aRealPos0=rPnt; in Reset()
71 RealNow()=rPnt; in Reset()
74 void SdrDragStat::NextMove(const Point& rPnt) in NextMove() argument
78 RealNow()=rPnt; in NextMove()
107 FASTBOOL SdrDragStat::CheckMinMoved(const Point& rPnt) in CheckMinMoved() argument
110 long dx=rPnt.X()-GetPrev().X(); if (dx<0) dx=-dx; in CheckMinMoved()
111 long dy=rPnt.Y()-GetPrev().Y(); if (dy<0) dy=-dy; in CheckMinMoved()
H A Dsvddrgv.cxx126 void SdrDragView::MovAction(const Point& rPnt) in MovAction() argument
128 SdrExchangeView::MovAction(rPnt); in MovAction()
131 MovDragObj(rPnt); in MovAction()
251 Point aPnt(rPnt); in BegDragObj()
541 void SdrDragView::MovDragObj(const Point& rPnt) in MovDragObj() argument
545 Point aPnt(rPnt); in MovDragObj()
682 Point aPt(rPnt); in ImpBegInsObjPoint()
717 MovDragObj(rPnt); in ImpBegInsObjPoint()
793 rGP.SetAbsolutePos(rPnt,*pObj); in BegInsGluePoint()
803 bRet=BegDragObj(rPnt,NULL,pHdl,0); in BegInsGluePoint()
[all …]
H A Dsvddrgm1.hxx56 virtual void MoveSdrDrag(const Point& rPnt);
80 virtual void MoveSdrDrag(const Point& rPnt);
109 virtual void MoveSdrDrag(const Point& rPnt);
128 bool ImpCheckSide(const Point& rPnt) const;
136 virtual void MoveSdrDrag(const Point& rPnt);
164 virtual void MoveSdrDrag(const Point& rPnt);
202 void _MovCrookPoint(Point& rPnt, Point* pC1, Point* pC2);
214 virtual void MoveSdrDrag(const Point& rPnt);
248 virtual void MoveSdrDrag(const Point& rPnt);
H A Dsdrhittesthelper.cxx43 const Point& rPnt, in SdrObjectPrimitiveHit() argument
55 …pResult = SdrObjListPrimitiveHit(*rObject.GetSubList(), rPnt, nTol, rSdrPageView, pVisiLayer, bTex… in SdrObjectPrimitiveHit()
67 const basegfx::B2DPoint aHitPosition(rPnt.X(), rPnt.Y()); in SdrObjectPrimitiveHit()
81 const basegfx::B2DPoint aHitPosition(rPnt.X(), rPnt.Y()); in SdrObjectPrimitiveHit()
101 const Point& rPnt, in SdrObjListPrimitiveHit() argument
115 pRetval = SdrObjectPrimitiveHit(*pObj, rPnt, nTol, rSdrPageView, pVisiLayer, bTextOnly); in SdrObjListPrimitiveHit()
H A Dsvdcrtv.cxx256 void SdrCreateView::MovAction(const Point& rPnt) in MovAction() argument
258 SdrDragView::MovAction(rPnt); in MovAction()
260 MovCreateObj(rPnt); in MovAction()
466 Point aPnt(rPnt); in ImpBegCreateObj()
562 return ImpBegCreateObj(nAktInvent,nAktIdent,rPnt,pOut,nMinMov,pPV,Rectangle(), 0L); in BegCreateObj()
576 …return ImpBegCreateObj(nInvent, nIdent, rPnt, 0L, nMinMov, 0L, Rectangle(), pPreparedFactoryObject… in BegCreatePreparedObject()
579 sal_Bool SdrCreateView::BegCreateCaptionObj(const Point& rPnt, const Size& rObjSiz, in BegCreateCaptionObj() argument
582 return ImpBegCreateObj(SdrInventor,OBJ_CAPTION,rPnt,pOut,nMinMov,pPV, in BegCreateCaptionObj()
583 Rectangle(rPnt,Size(rObjSiz.Width()+1,rObjSiz.Height()+1)), 0L); in BegCreateCaptionObj()
586 void SdrCreateView::MovCreateObj(const Point& rPnt) in MovCreateObj() argument
[all …]
/aoo41x/main/svx/source/engine3d/
H A Ddragmt3d.cxx383 E3dDragMethod::MoveSdrDrag(rPnt); in MoveSdrDrag()
385 if(DragStat().CheckMinMoved(rPnt)) in MoveSdrDrag()
485 maLastPos = rPnt; in MoveSdrDrag()
486 DragStat().NextMove(rPnt); in MoveSdrDrag()
566 E3dDragMethod::MoveSdrDrag(rPnt); in MoveSdrDrag()
568 if(DragStat().CheckMinMoved(rPnt)) in MoveSdrDrag()
574 …basegfx::B3DPoint aGlobalMoveHead((double)(rPnt.X() - maLastPos.X()), (double)(rPnt.Y() - maLastPo… in MoveSdrDrag()
594 …basegfx::B2DPoint aGlobalMoveHead2D((double)(rPnt.X() - maLastPos.X()), (double)(rPnt.Y() - maLast… in MoveSdrDrag()
668 basegfx::B2DPoint aGlobalScaleNext2D((double)(rPnt.X()), (double)(rPnt.Y())); in MoveSdrDrag()
772 maLastPos = rPnt; in MoveSdrDrag()
[all …]
/aoo41x/main/svx/source/xoutdev/
H A D_xpoly.cxx1302 rPnt.X() = (long)(fSx * rPnt.X()); in Scale()
1303 rPnt.Y() = (long)(fSy * rPnt.Y()); in Scale()
1328 long nDy = rPnt.Y() - nYRef; in SlantX()
1329 rPnt.X() += (long)(fSin * nDy); in SlantX()
1355 long nDx = rPnt.X() - nXRef; in SlantY()
1357 rPnt.Y() -= (long)(fSin * nDx); in SlantY()
1412 fTx = (double)(rPnt.X() - Xr) / Wr; in Distort()
1448 if ((rPnt.X () < fMinX) || (fMinX == rPnt.X ()) && in Rotate20()
1449 (fMinY >= rPnt.Y ())) in Rotate20()
1451 fMinX = rPnt.X (); in Rotate20()
[all …]
/aoo41x/main/chart2/source/controller/main/
H A DDragMethod_RotateDiagram.cxx121 void DragMethod_RotateDiagram::MoveSdrDrag(const Point& rPnt) in MoveSdrDrag() argument
123 if( DragStat().CheckMinMoved(rPnt) ) in MoveSdrDrag()
128 double fX = F_PI / 2.0 * (double)(rPnt.Y() - m_aStartPos.Y()) in MoveSdrDrag()
130 double fY = F_PI * (double)(rPnt.X() - m_aStartPos.X()) in MoveSdrDrag()
152 + atan((double)(fCx - rPnt.X())/(fCy-rPnt.Y())); in MoveSdrDrag()
158 DragStat().NextMove(rPnt); in MoveSdrDrag()
/aoo41x/main/basctl/source/dlged/
H A Ddlgedview.cxx148 SdrObject* impLocalHitCorrection(SdrObject* pRetval, const Point& rPnt, sal_uInt16 nTol) in impLocalHitCorrection() argument
186 if(aOuterRange.isInside(basegfx::B2DPoint(rPnt.X(), rPnt.Y()))) in impLocalHitCorrection()
197 SdrObject* DlgEdView::CheckSingleSdrObjectHit(const Point& rPnt, sal_uInt16 nTol, SdrObject* pObj, … in CheckSingleSdrObjectHit() argument
200 … SdrObject* pRetval = SdrView::CheckSingleSdrObjectHit(rPnt, nTol, pObj, pPV, nOptions, pMVisLay); in CheckSingleSdrObjectHit()
205 pRetval = impLocalHitCorrection(pRetval, rPnt, nTol); in CheckSingleSdrObjectHit()
/aoo41x/main/chart2/source/controller/drawinglayer/
H A DDrawViewWrapper.cxx233 SdrObject* DrawViewWrapper::getHitObject( const Point& rPnt ) const in getHitObject()
240 …this->SdrView::PickObj(rPnt, lcl_getHitTolerance( this->GetFirstOutputDevice() ), pRet, pSdrPageVi… in getHitObject()
249 return getHitObject( rPnt ); in getHitObject()
262 const basegfx::B2DPoint aHitPoint(rPnt.X(), rPnt.Y()); in getHitObject()
366 bool DrawViewWrapper::IsObjectHit( SdrObject* pObj, const Point& rPnt ) const in IsObjectHit()
371 return aRect.IsInside(rPnt); in IsObjectHit()

Completed in 202 milliseconds

1234