Lines Matching refs:rPt0
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()
681 void OrthoDistance4(const Point& rPt0, Point& rPt, FASTBOOL bBigOrtho) in OrthoDistance4() argument
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()
690 rPt.X()=rPt0.X()+(dya* (dx>=0 ? 1 : -1) ); in OrthoDistance4()