Lines Matching refs:rPt0
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()
676 rPt.Y()=rPt0.Y()+(dxa* (dy>=0 ? 1 : -1) ); in OrthoDistance4()
678 rPt.X()=rPt0.X()+(dya* (dx>=0 ? 1 : -1) ); in OrthoDistance4()