Lines Matching refs:X

67 …rRect.Left()  =rRef.X()+Round(((double)(rRect.Left()  -rRef.X())*xFact.GetNumerator())/xFact.GetDe…  in ResizeRect()
68 …rRect.Right() =rRef.X()+Round(((double)(rRect.Right() -rRef.X())*xFact.GetNumerator())/xFact.GetDe… in ResizeRect()
166 long mx=rRef2.X()-rRef1.X(); in MirrorPoint()
169 long dx=rRef1.X()-rPnt.X(); in MirrorPoint()
170 rPnt.X()+=2*dx; in MirrorPoint()
175 long dx1=rPnt.X()-rRef1.X(); in MirrorPoint()
177 rPnt.X()=rRef1.X()+dy1; in MirrorPoint()
180 long dx1=rPnt.X()-rRef1.X(); in MirrorPoint()
182 rPnt.X()=rRef1.X()-dy1; in MirrorPoint()
282 long x0=rPnt.X(); in CrookRotateXPoint()
284 long cx=rCenter.X(); in CrookRotateXPoint()
295 pC1->Y()=Round(((double)pC1->Y()) /rRad.X()*(cx-pC1->X())); in CrookRotateXPoint()
299 pC1->X()-=x0; in CrookRotateXPoint()
303 pC1->X()=Round((double)pC1->X()*nFact); in CrookRotateXPoint()
304 pC1->X()+=cx; in CrookRotateXPoint()
313 pC2->Y()=Round(((double)pC2->Y()) /rRad.X()*(rCenter.X()-pC2->X())); in CrookRotateXPoint()
317 pC2->X()-=x0; in CrookRotateXPoint()
321 pC2->X()=Round((double)pC2->X()*nFact); in CrookRotateXPoint()
322 pC2->X()+=cx; in CrookRotateXPoint()
336 long x0=rPnt.X(); in CrookSlantXPoint()
342 long nStart=rCenter.X()-rRad.X(); in CrookSlantXPoint()
343 dx1=rPnt.X()-nStart; in CrookSlantXPoint()
344 rPnt.X()=nStart; in CrookSlantXPoint()
346 dxC1=pC1->X()-nStart; in CrookSlantXPoint()
347 pC1->X()=nStart; in CrookSlantXPoint()
350 dxC2=pC2->X()-nStart; in CrookSlantXPoint()
351 pC2->X()=nStart; in CrookSlantXPoint()
370 …if (bC1) { if (bVert) pC1->Y()-=y0-rCenter.Y(); else pC1->X()-=x0-rCenter.X(); RotatePoint(*pC1,rC… in CrookSlantXPoint()
371 …if (bC2) { if (bVert) pC2->Y()-=y0-rCenter.Y(); else pC2->X()-=x0-rCenter.X(); RotatePoint(*pC2,rC… in CrookSlantXPoint()
373 rPnt.X()+=dx1; in CrookSlantXPoint()
374 if (bC1) pC1->X()+=dxC1; in CrookSlantXPoint()
375 if (bC2) pC2->X()+=dxC2; in CrookSlantXPoint()
512 if (rPnt.X()<0) a=-18000; in GetAngle()
513 } else if (rPnt.X()==0) { in GetAngle()
517 a=Round((atan2((double)-rPnt.Y(),(double)rPnt.X())/nPi180)); in GetAngle()
548 long x=Abs(rPnt.X()); in GetLen()
619 long nWdt=aPt1.X(); in Poly2Rect()
626 if(aPt3.X()) in Poly2Rect()
658 aRU.X()+=nWdt; in Poly2Rect()
667 long dx=rPt.X()-rPt0.X(); in OrthoDistance8()
673 if (dya>=dxa*2) { rPt.X()=rPt0.X(); return; } in OrthoDistance8()
677 rPt.X()=rPt0.X()+(dya* (dx>=0 ? 1 : -1) ); in OrthoDistance8()
683 long dx=rPt.X()-rPt0.X(); in OrthoDistance4()
690 rPt.X()=rPt0.X()+(dya* (dx>=0 ? 1 : -1) ); in OrthoDistance4()
766 return FrPair(6400,aP.X(),6400,aP.Y()); in GetInchOrMM()
774 return FrPair(3200,aP.X(),3200,aP.Y()); in GetInchOrMM()
810 FrPair aRet(aD.X()/aS.X(),aD.Y()/aS.Y()); in GetMapFactor()
811 if (bSInch && !bDInch) { aRet.X()*=Fraction(127,5); aRet.Y()*=Fraction(127,5); } in GetMapFactor()
812 if (!bSInch && bDInch) { aRet.X()*=Fraction(5,127); aRet.Y()*=Fraction(5,127); } in GetMapFactor()
822 FrPair aRet(aD.X()/aS.X(),aD.Y()/aS.Y()); in GetMapFactor()
823 if (bSInch && !bDInch) { aRet.X()*=Fraction(127,5); aRet.Y()*=Fraction(127,5); } in GetMapFactor()
824 if (!bSInch && bDInch) { aRet.X()*=Fraction(5,127); aRet.Y()*=Fraction(5,127); } in GetMapFactor()
834 FrPair aRet(aD.X()/aS.X(),aD.Y()/aS.Y()); in GetMapFactor()
835 if (bSInch && !bDInch) { aRet.X()*=Fraction(127,5); aRet.Y()*=Fraction(127,5); } in GetMapFactor()
836 if (!bSInch && bDInch) { aRet.X()*=Fraction(5,127); aRet.Y()*=Fraction(5,127); } in GetMapFactor()
847 FrPair aRet(aD.X()/aS.X(),aD.Y()/aS.Y()); in GetMapFactor()
848 if (bSInch && !bDInch) { aRet.X()*=Fraction(127,5); aRet.Y()*=Fraction(127,5); } in GetMapFactor()
849 if (!bSInch && bDInch) { aRet.X()*=Fraction(5,127); aRet.Y()*=Fraction(5,127); } in GetMapFactor()