Lines Matching refs:nWink
144 void SdrGluePoint::SetAlignAngle(long nWink) in SetAlignAngle() argument
146 nWink=NormAngle360(nWink); in SetAlignAngle()
147 if (nWink>=33750 || nWink<2250) nAlign=SDRHORZALIGN_RIGHT |SDRVERTALIGN_CENTER; in SetAlignAngle()
148 else if (nWink< 6750) nAlign=SDRHORZALIGN_RIGHT |SDRVERTALIGN_TOP ; in SetAlignAngle()
149 else if (nWink<11250) nAlign=SDRHORZALIGN_CENTER|SDRVERTALIGN_TOP ; in SetAlignAngle()
150 else if (nWink<15750) nAlign=SDRHORZALIGN_LEFT |SDRVERTALIGN_TOP ; in SetAlignAngle()
151 else if (nWink<20250) nAlign=SDRHORZALIGN_LEFT |SDRVERTALIGN_CENTER; in SetAlignAngle()
152 else if (nWink<24750) nAlign=SDRHORZALIGN_LEFT |SDRVERTALIGN_BOTTOM; in SetAlignAngle()
153 else if (nWink<29250) nAlign=SDRHORZALIGN_CENTER|SDRVERTALIGN_BOTTOM; in SetAlignAngle()
154 else if (nWink<33750) nAlign=SDRHORZALIGN_RIGHT |SDRVERTALIGN_BOTTOM; in SetAlignAngle()
168 sal_uInt16 SdrGluePoint::EscAngleToDir(long nWink) const in EscAngleToDir()
170 nWink=NormAngle360(nWink); in EscAngleToDir()
171 if (nWink>=31500 || nWink<4500) return SDRESC_RIGHT; in EscAngleToDir()
172 if (nWink<13500) return SDRESC_TOP; in EscAngleToDir()
173 if (nWink<22500) return SDRESC_LEFT; in EscAngleToDir()
174 if (nWink<31500) return SDRESC_BOTTOM; in EscAngleToDir()
178 void SdrGluePoint::Rotate(const Point& rRef, long nWink, double sn, double cs, const SdrObject* pOb… in Rotate() argument
185 SetAlignAngle(GetAlignAngle()+nWink); in Rotate()
190 if ((nEscDir0&SDRESC_LEFT )!=0) nEscDir1|=EscAngleToDir(EscDirToAngle(SDRESC_LEFT )+nWink); in Rotate()
191 if ((nEscDir0&SDRESC_TOP )!=0) nEscDir1|=EscAngleToDir(EscDirToAngle(SDRESC_TOP )+nWink); in Rotate()
192 if ((nEscDir0&SDRESC_RIGHT )!=0) nEscDir1|=EscAngleToDir(EscDirToAngle(SDRESC_RIGHT )+nWink); in Rotate()
193 if ((nEscDir0&SDRESC_BOTTOM)!=0) nEscDir1|=EscAngleToDir(EscDirToAngle(SDRESC_BOTTOM)+nWink); in Rotate()
201 long nWink=GetAngle(aPt); in Mirror() local
202 Mirror(rRef1,rRef2,nWink,pObj); in Mirror()
205 void SdrGluePoint::Mirror(const Point& rRef1, const Point& rRef2, long nWink, const SdrObject* pObj) in Mirror() argument
213 nAW+=2*(nWink-nAW); in Mirror()
221 nEW+=2*(nWink-nEW); in Mirror()
226 nEW+=2*(nWink-nEW); in Mirror()
231 nEW+=2*(nWink-nEW); in Mirror()
236 nEW+=2*(nWink-nEW); in Mirror()
375 void SdrGluePointList::Rotate(const Point& rRef, long nWink, double sn, double cs, const SdrObject*… in Rotate() argument
379 GetObject(nNum)->Rotate(rRef,nWink,sn,cs,pObj); in Rotate()
386 long nWink=GetAngle(aPt); in Mirror() local
387 Mirror(rRef1,rRef2,nWink,pObj); in Mirror()
390 void SdrGluePointList::Mirror(const Point& rRef1, const Point& rRef2, long nWink, const SdrObject* … in Mirror() argument
394 GetObject(nNum)->Mirror(rRef1,rRef2,nWink,pObj); in Mirror()
398 void SdrGluePointList::Shear(const Point& rRef, long nWink, double tn, FASTBOOL bVShear, const SdrO… in Shear() argument
402 GetObject(nNum)->Shear(rRef,nWink,tn,bVShear,pObj); in Shear()