Searched refs:rPt0 (Results 1 – 4 of 4) sorted by relevance
| /trunk/main/svx/source/svdraw/ |
| H A D | svdtrans.cxx | 653 void OrthoDistance8(const Point& rPt0, Point& rPt, FASTBOOL bBigOrtho) in OrthoDistance8() argument 655 long dx=rPt.X()-rPt0.X(); in OrthoDistance8() 656 long dy=rPt.Y()-rPt0.Y(); in OrthoDistance8() 660 if (dxa>=dya*2) { rPt.Y()=rPt0.Y(); return; } in OrthoDistance8() 661 if (dya>=dxa*2) { rPt.X()=rPt0.X(); return; } in OrthoDistance8() 663 rPt.Y()=rPt0.Y()+(dxa* (dy>=0 ? 1 : -1) ); in OrthoDistance8() 665 rPt.X()=rPt0.X()+(dya* (dx>=0 ? 1 : -1) ); in OrthoDistance8() 669 void OrthoDistance4(const Point& rPt0, Point& rPt, FASTBOOL bBigOrtho) in OrthoDistance4() argument 671 long dx=rPt.X()-rPt0.X(); in OrthoDistance4() 672 long dy=rPt.Y()-rPt0.Y(); in OrthoDistance4() [all …]
|
| /trunk/main/svx/source/customshapes/ |
| H A D | EnhancedCustomShapeFontWork.cxx | 603 Point& rPt0 = rPoly[ i - 1 ]; in InsertMissingOutlinePoints() local 604 sal_Int32 fX = rPoint.X() - rPt0.X(); in InsertMissingOutlinePoints() 605 sal_Int32 fY = rPoint.Y() - rPt0.Y(); in InsertMissingOutlinePoints() 607 … rPoly.Insert( i, Point( (sal_Int32)( rPt0.X() + fX * fd ), (sal_Int32)( rPt0.Y() + fY * fd ) ) ); in InsertMissingOutlinePoints() 618 Point& rPt0 = rPoly[ i - 1 ]; in InsertMissingOutlinePoints() local 619 sal_Int32 fX = rPoint.X() - rPt0.X(); in InsertMissingOutlinePoints() 620 sal_Int32 fY = rPoint.Y() - rPt0.Y(); in InsertMissingOutlinePoints() 622 … rPoly.Insert( i, Point( (sal_Int32)( rPt0.X() + fX * fd ), (sal_Int32)( rPt0.Y() + fY * fd ) ) ); in InsertMissingOutlinePoints()
|
| /trunk/main/svx/inc/svx/ |
| H A D | svdtrans.hxx | 232 SVX_DLLPUBLIC void OrthoDistance8(const Point& rPt0, Point& rPt, FASTBOOL bBigOrtho); 233 SVX_DLLPUBLIC void OrthoDistance4(const Point& rPt0, Point& rPt, FASTBOOL bBigOrtho);
|
| /trunk/main/tools/source/generic/ |
| H A D | poly.cxx | 1696 const Point& rPt0 = mpImplPolygon->mpPointAry[ 0 ]; in GetSignedArea() local 1697 fArea += ( rPt.X() - rPt0.X() ) * ( rPt.Y() + rPt0.Y() ); in GetSignedArea()
|