Searched refs:rPt0 (Results 1 – 4 of 4) sorted by relevance
/aoo41x/main/svx/source/svdraw/ |
H A D | svdtrans.cxx | 665 void OrthoDistance8(const Point& rPt0, Point& rPt, FASTBOOL bBigOrtho) in OrthoDistance8() argument 667 long dx=rPt.X()-rPt0.X(); in OrthoDistance8() 668 long dy=rPt.Y()-rPt0.Y(); in OrthoDistance8() 672 if (dxa>=dya*2) { rPt.Y()=rPt0.Y(); return; } in OrthoDistance8() 673 if (dya>=dxa*2) { rPt.X()=rPt0.X(); return; } in OrthoDistance8() 675 rPt.Y()=rPt0.Y()+(dxa* (dy>=0 ? 1 : -1) ); in OrthoDistance8() 677 rPt.X()=rPt0.X()+(dya* (dx>=0 ? 1 : -1) ); in OrthoDistance8() 683 long dx=rPt.X()-rPt0.X(); in OrthoDistance4() 684 long dy=rPt.Y()-rPt0.Y(); in OrthoDistance4() 688 rPt.Y()=rPt0.Y()+(dxa* (dy>=0 ? 1 : -1) ); in OrthoDistance4() [all …]
|
/aoo41x/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()
|
/aoo41x/main/svx/inc/svx/ |
H A D | svdtrans.hxx | 236 SVX_DLLPUBLIC void OrthoDistance8(const Point& rPt0, Point& rPt, FASTBOOL bBigOrtho); 237 SVX_DLLPUBLIC void OrthoDistance4(const Point& rPt0, Point& rPt, FASTBOOL bBigOrtho);
|
/aoo41x/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()
|
Completed in 49 milliseconds