Lines Matching refs:rPt1
167 long Cut( long nY, const Point& rPt1, const Point& rPt2 );
172 long CalcMax( const Point& rPt1, const Point& rPt2, long nRange, long nFar );
220 long SvxBoundArgs::CalcMax( const Point& rPt1, const Point& rPt2, in CalcMax() argument
223 double nDa = Cut( nRange, rPt1, rPt2 ) - Cut( nFarRange, rPt1, rPt2 ); in CalcMax()
238 bNote = nB > B(rPt1); in CalcMax()
240 bNote = nB < B(rPt1); in CalcMax()
643 long SvxBoundArgs::Cut( long nB, const Point& rPt1, const Point& rPt2 ) in Cut() argument
647 double nQuot = nB - rPt1.X(); in Cut()
648 nQuot /= ( rPt2.X() - rPt1.X() ); in Cut()
649 nQuot *= ( rPt2.Y() - rPt1.Y() ); in Cut()
650 return long( rPt1.Y() + nQuot ); in Cut()
652 double nQuot = nB - rPt1.Y(); in Cut()
653 nQuot /= ( rPt2.Y() - rPt1.Y() ); in Cut()
654 nQuot *= ( rPt2.X() - rPt1.X() ); in Cut()
655 return long( rPt1.X() + nQuot ); in Cut()