Lines Matching refs:rRef1
164 void MirrorPoint(Point& rPnt, const Point& rRef1, const Point& rRef2) in MirrorPoint() argument
166 long mx=rRef2.X()-rRef1.X(); in MirrorPoint()
167 long my=rRef2.Y()-rRef1.Y(); in MirrorPoint()
169 long dx=rRef1.X()-rPnt.X(); in MirrorPoint()
172 long dy=rRef1.Y()-rPnt.Y(); in MirrorPoint()
175 long dx1=rPnt.X()-rRef1.X(); in MirrorPoint()
176 long dy1=rPnt.Y()-rRef1.Y(); in MirrorPoint()
177 rPnt.X()=rRef1.X()+dy1; in MirrorPoint()
178 rPnt.Y()=rRef1.Y()+dx1; in MirrorPoint()
180 long dx1=rPnt.X()-rRef1.X(); in MirrorPoint()
181 long dy1=rPnt.Y()-rRef1.Y(); in MirrorPoint()
182 rPnt.X()=rRef1.X()-dy1; in MirrorPoint()
183 rPnt.Y()=rRef1.Y()-dx1; in MirrorPoint()
187 long nRefWink=GetAngle(rRef2-rRef1); in MirrorPoint()
188 rPnt-=rRef1; in MirrorPoint()
195 rPnt+=rRef1; in MirrorPoint()
199 void MirrorPoly(Polygon& rPoly, const Point& rRef1, const Point& rRef2) in MirrorPoly() argument
203 MirrorPoint(rPoly[i],rRef1,rRef2); in MirrorPoly()
207 void MirrorXPoly(XPolygon& rPoly, const Point& rRef1, const Point& rRef2) in MirrorXPoly() argument
211 MirrorPoint(rPoly[i],rRef1,rRef2); in MirrorXPoly()
215 void MirrorPoly(PolyPolygon& rPoly, const Point& rRef1, const Point& rRef2) in MirrorPoly() argument
219 MirrorPoly(rPoly[i],rRef1,rRef2); in MirrorPoly()
223 void MirrorXPoly(XPolyPolygon& rPoly, const Point& rRef1, const Point& rRef2) in MirrorXPoly() argument
227 MirrorXPoly(rPoly[i],rRef1,rRef2); in MirrorXPoly()