/aoo42x/main/svx/source/svdraw/ |
H A D | svdglue.cxx | 146 nWink=NormAngle360(nWink); in SetAlignAngle() 147 if (nWink>=33750 || nWink<2250) nAlign=SDRHORZALIGN_RIGHT |SDRVERTALIGN_CENTER; in SetAlignAngle() 170 nWink=NormAngle360(nWink); in EscAngleToDir() 171 if (nWink>=31500 || nWink<4500) return SDRESC_RIGHT; in EscAngleToDir() 201 long nWink=GetAngle(aPt); in Mirror() local 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() [all …]
|
H A D | svddrgmt.cxx | 2136 rTarget.Rotate(DragStat().GetRef1(), nWink, sin(nWink*nPi180), cos(nWink*nPi180)); in applyCurrentTransformationToSdrObject() 2144 nWink(0), in SdrDragRotate() 2245 if (nWink!=0) in EndSdrDrag() 2276 nWink(0), in SdrDragShear() 2491 if (nWink!=0) in applyCurrentTransformationToSdrObject() 2531 if (nWink!=0) in EndSdrDrag() 2567 nWink(0), in SdrDragMirror() 2576 nWink1-=nWink; in ImpCheckSide() 2867 nWink(0), in SdrDragCrook() 3235 nWink=0; in MoveSdrDrag() [all …]
|
H A D | svdogrp.cxx | 500 pObj->NbcRotate(rRef,nWink,sn,cs); in NbcRotate() 502 NbcRotateGluePoints(rRef,nWink,sn,cs); in NbcRotate() 530 pObj->NbcShear(rRef,nWink,tn,bVShear); in NbcShear() 532 NbcShearGluePoints(rRef,nWink,tn,bVShear); in NbcShear() 661 if (nWink!=0) { in Rotate() 671 if (pObj->IsEdgeObj()) pObj->Rotate(rRef,nWink,sn,cs); in Rotate() 675 if (!pObj->IsEdgeObj()) pObj->Rotate(rRef,nWink,sn,cs); in Rotate() 677 NbcRotateGluePoints(rRef,nWink,sn,cs); in Rotate() 713 if (nWink!=0) { in Shear() 723 if (pObj->IsEdgeObj()) pObj->Shear(rRef,nWink,tn,bVShear); in Shear() [all …]
|
H A D | svdocirc.cxx | 68 a=nWink*nPi180; in GetWinkPnt() 373 long nWink; member 539 nWink+=nSA/2; in applySpecialDrag() 540 nWink/=nSA; in applySpecialDrag() 541 nWink*=nSA; in applySpecialDrag() 542 nWink=NormAngle360(nWink); in applySpecialDrag() 548 nStartWink = nWink; in applySpecialDrag() 552 nEndWink = nWink; in applySpecialDrag() 581 sal_Int32 nWink; in getSpecialDragComment() local 587 nWink = pU->nStart; in getSpecialDragComment() [all …]
|
H A D | svdtrans.cxx | 191 double a=nWink*nPi180; in MirrorPoint() 287 double sn=sin(nWink); in CrookRotateXPoint() 288 double cs=cos(nWink); in CrookRotateXPoint() 328 return nWink; in CrookRotateXPoint() 367 double sn=sin(nWink); in CrookSlantXPoint() 368 double cs=cos(nWink); in CrookSlantXPoint() 383 return nWink; in CrookSlantXPoint() 538 while (nWink<0) nWink+=36000; in GetAngleSector() 539 while (nWink>=36000) nWink-=36000; in GetAngleSector() 540 if (nWink< 9000) return 0; in GetAngleSector() [all …]
|
H A D | svdovirt.cxx | 391 void SdrVirtObj::NbcRotate(const Point& rRef, long nWink, double sn, double cs) in NbcRotate() argument 393 rRefObj.NbcRotate(rRef-aAnchor,nWink,sn,cs); in NbcRotate() 403 void SdrVirtObj::NbcShear(const Point& rRef, long nWink, double tn, FASTBOOL bVShear) in NbcShear() argument 405 rRefObj.NbcShear(rRef-aAnchor,nWink,tn,bVShear); in NbcShear() 433 void SdrVirtObj::Rotate(const Point& rRef, long nWink, double sn, double cs) in Rotate() argument 435 if (nWink!=0) { in Rotate() 437 rRefObj.Rotate(rRef-aAnchor,nWink,sn,cs); in Rotate() 451 void SdrVirtObj::Shear(const Point& rRef, long nWink, double tn, FASTBOOL bVShear) in Shear() argument 453 if (nWink!=0) { in Shear() 455 rRefObj.Shear(rRef-aAnchor,nWink,tn,bVShear); in Shear()
|
H A D | svdedtv1.cxx | 345 double nSin=sin(nWink*nPi180); in RotateMarkedObj() 346 double nCos=cos(nWink*nPi180); in RotateMarkedObj() 468 long nWink=0; in GetMarkedObjShear() local 474 if (b1st) nWink=nWink2; in GetMarkedObjShear() 478 if (nWink>SDRMAXSHEAR) nWink=SDRMAXSHEAR; in GetMarkedObjShear() 479 if (nWink<-SDRMAXSHEAR) nWink=-SDRMAXSHEAR; in GetMarkedObjShear() 480 if (!bOk) nWink=0; in GetMarkedObjShear() 481 return nWink; in GetMarkedObjShear() 500 double nTan=tan(nWink*nPi180); in ShearMarkedObj() 512 pO->Shear(rRef,nWink,nTan,bVShear); in ShearMarkedObj() [all …]
|
H A D | svdotxtr.cxx | 255 void SdrTextObj::NbcRotate(const Point& rRef, long nWink, double sn, double cs) in NbcRotate() argument 267 aGeo.nDrehWink=NormAngle360(nWink); in NbcRotate() 271 aGeo.nDrehWink=NormAngle360(aGeo.nDrehWink+nWink); in NbcRotate() 275 NbcRotateGluePoints(rRef,nWink,sn,cs); in NbcRotate() 279 void SdrTextObj::NbcShear(const Point& rRef, long nWink, double tn, FASTBOOL bVShear) in NbcShear() argument 297 NbcShearGluePoints(rRef,nWink,tn,bVShear); in NbcShear()
|
H A D | svddrgm1.hxx | 71 long nWink; member in SdrDragRotate 96 long nWink; member in SdrDragShear 124 long nWink; member in SdrDragMirror 196 long nWink; member in SdrDragCrook
|
H A D | svdobj.cxx | 1114 XubString SdrObject::GetWinkStr(long nWink, FASTBOOL bNoDegChar) const in GetWinkStr() argument 1118 pModel->TakeWinkStr(nWink,aStr,bNoDegChar); in GetWinkStr() 1517 NbcRotateGluePoints(rRef,nWink,sn,cs); in NbcRotate() 1555 NbcShearGluePoints(rRef,nWink,tn,bVShear); in NbcShear() 1583 void SdrObject::Rotate(const Point& rRef, long nWink, double sn, double cs) in Rotate() argument 1585 if (nWink!=0) { in Rotate() 1588 NbcRotate(rRef,nWink,sn,cs); in Rotate() 1607 if (nWink!=0) { in Shear() 1610 NbcShear(rRef,nWink,tn,bVShear); in Shear() 2388 pGPL->Rotate(rRef,nWink,sn,cs,this); in NbcRotateGluePoints() [all …]
|
H A D | svdglev.cxx | 394 void SdrGlueEditView::RotateMarkedGluePoints(const Point& rRef, long nWink, bool bCopy) in RotateMarkedGluePoints() argument 401 double nSin=sin(nWink*nPi180); in RotateMarkedGluePoints() 402 double nCos=cos(nWink*nPi180); in RotateMarkedGluePoints() 403 ImpTransformMarkedGluePoints(ImpRotate,&rRef,&nWink,&nSin,&nCos); in RotateMarkedGluePoints()
|
H A D | svdorect.cxx | 503 void SdrRectObj::NbcRotate(const Point& rRef, long nWink, double sn, double cs) in NbcRotate() argument 505 SdrTextObj::NbcRotate(rRef,nWink,sn,cs); in NbcRotate() 509 void SdrRectObj::NbcShear(const Point& rRef, long nWink, double tn, FASTBOOL bVShear) in NbcShear() argument 511 SdrTextObj::NbcShear(rRef,nWink,tn,bVShear); in NbcShear()
|
H A D | svdpoev.cxx | 726 void SdrPolyEditView::RotateMarkedPoints(const Point& rRef, long nWink, bool bCopy) in RotateMarkedPoints() argument 734 double nSin=sin(nWink*nPi180); in RotateMarkedPoints() 735 double nCos=cos(nWink*nPi180); in RotateMarkedPoints() 736 ImpTransformMarkedPoints(ImpRotate,&rRef,&nWink,&nSin,&nCos); in RotateMarkedPoints()
|
/aoo42x/main/svx/inc/svx/ |
H A D | svdglue.hxx | 103 void SetAlignAngle(long nWink); 105 sal_uInt16 EscAngleToDir(long nWink) const; 106 void Rotate(const Point& rRef, long nWink, double sn, double cs, const SdrObject* pObj); 108 void Mirror(const Point& rRef1, const Point& rRef2, long nWink, const SdrObject* pObj); 109 …void Shear (const Point& rRef, long nWink, double tn, FASTBOOL bVShear, const SdrObject* p… 136 …void Rotate(const Point& rRef, long nWink, double sn, double cs, const SdrObject* p… 138 …void Mirror(const Point& rRef1, const Point& rRef2, long nWink, const SdrObject* pO… 139 …void Shear (const Point& rRef, long nWink, double tn, FASTBOOL bVShear, const SdrOb…
|
H A D | svdedtv.hxx | 248 void RotateMarkedObj(const Point& rRef, long nWink, bool bCopy=false); 253 void ShearMarkedObj(const Point& rRef, long nWink, bool bVShear=false, bool bCopy=false); 263 …void RotateAllMarked(const Point& rRef, long nWink, sal_Bool bCopy=sal_False) { RotateMarkedObj(rR… in RotateAllMarked() argument 268 …lMarked(const Point& rRef, long nWink, sal_Bool bVShear=sal_False, sal_Bool bCopy=sal_False) { She… in ShearAllMarked() argument
|
H A D | svdogrp.hxx | 93 virtual void Rotate(const Point& rRef, long nWink, double sn, double cs); 95 virtual void Shear(const Point& rRef, long nWink, double tn, FASTBOOL bVShear); 103 virtual void NbcRotate(const Point& rRef, long nWink, double sn, double cs); 105 virtual void NbcShear(const Point& rRef, long nWink, double tn, FASTBOOL bVShear);
|
H A D | svdovirt.hxx | 110 virtual void NbcRotate(const Point& rRef, long nWink, double sn, double cs); 112 virtual void NbcShear(const Point& rRef, long nWink, double tn, FASTBOOL bVShear); 116 virtual void Rotate(const Point& rRef, long nWink, double sn, double cs); 118 virtual void Shear(const Point& rRef, long nWink, double tn, FASTBOOL bVShear);
|
H A D | svdobj.hxx | 514 String GetWinkStr(long nWink, FASTBOOL bNoDegChar=sal_False) const; 768 virtual void NbcRotate(const Point& rRef, long nWink, double sn, double cs); 770 virtual void NbcShear (const Point& rRef, long nWink, double tn, FASTBOOL bVShear); 774 virtual void Rotate(const Point& rRef, long nWink, double sn, double cs); 776 virtual void Shear (const Point& rRef, long nWink, double tn, FASTBOOL bVShear); 931 void NbcRotateGluePoints(const Point& rRef, long nWink, double sn, double cs); 933 void NbcShearGluePoints (const Point& rRef, long nWink, double tn, FASTBOOL bVShear);
|
H A D | svdtrans.hxx | 155 double nWink; in GetCrookAngle() local 158 nWink=(double)dy/(double)rRad.Y(); in GetCrookAngle() 162 nWink=(double)dx/(double)rRad.X(); in GetCrookAngle() 165 return nWink; in GetCrookAngle() 179 sal_uInt16 GetAngleSector(long nWink); // Sektor im kartesischen Koordinatensystem bestimmen
|
H A D | svdoashp.hxx | 189 virtual void Shear(const Point& rRef, long nWink, double tn, FASTBOOL bVShear); 195 virtual void NbcRotate(const Point& rRef, long nWink, double sn, double cs); 197 virtual void NbcShear(const Point& rRef, long nWink, double tn, FASTBOOL bVShear);
|
H A D | svdglev.hxx | 103 void RotateMarkedGluePoints(const Point& rRef, long nWink, bool bCopy=false); 107 …void ShearMarkedGluePoints(const Point& rRef, long nWink, sal_Bool bVShear=sal_False, sal_Bool bCo…
|
H A D | svdorect.hxx | 117 virtual void NbcRotate(const Point& rRef, long nWink, double sn, double cs); 119 virtual void NbcShear(const Point& rRef, long nWink, double tn, FASTBOOL bVShear);
|
/aoo42x/main/sw/inc/ |
H A D | dcontact.hxx | 332 virtual void NbcRotate(const Point& rRef, long nWink, double sn, double cs); 334 virtual void NbcShear(const Point& rRef, long nWink, double tn, FASTBOOL bVShear); 337 virtual void Rotate(const Point& rRef, long nWink, double sn, double cs); 339 virtual void Shear(const Point& rRef, long nWink, double tn, FASTBOOL bVShear);
|
/aoo42x/main/sw/source/core/draw/ |
H A D | dcontact.cxx | 2624 void SwDrawVirtObj::NbcRotate(const Point& rRef, long nWink, double sn, double cs) in NbcRotate() argument 2626 rRefObj.NbcRotate(rRef - GetOffset(), nWink, sn, cs); in NbcRotate() 2636 void SwDrawVirtObj::NbcShear(const Point& rRef, long nWink, double tn, FASTBOOL bVShear) in NbcShear() argument 2638 rRefObj.NbcShear(rRef - GetOffset(), nWink, tn, bVShear); in NbcShear() 2662 void SwDrawVirtObj::Rotate(const Point& rRef, long nWink, double sn, double cs) in Rotate() argument 2664 if(nWink) in Rotate() 2667 rRefObj.Rotate(rRef - GetOffset(), nWink, sn, cs); in Rotate() 2681 void SwDrawVirtObj::Shear(const Point& rRef, long nWink, double tn, FASTBOOL bVShear) in Shear() argument 2683 if(nWink) in Shear() 2686 rRefObj.Shear(rRef - GetOffset(), nWink, tn, bVShear); in Shear()
|
/aoo42x/main/svx/source/engine3d/ |
H A D | scene3d.cxx | 753 void E3dScene::NbcRotate(const Point& rRef, long nWink, double sn, double cs) in NbcRotate() argument 767 RotateScene (rRef, nWink, sn, cs); // Rotiert die Szene in NbcRotate() 768 double fWinkelInRad = nWink/100 * F_PI180; in NbcRotate() 775 …NbcRotateGluePoints(rRef,nWink,sn,cs); // Rotiert die Klebepunkte (die haben noch Koordinaten rel… in NbcRotate()
|