/aoo4110/main/svx/source/svdraw/ |
H A D | svdglue.cxx | 147 nWink=NormAngle360(nWink); in SetAlignAngle() 148 if (nWink>=33750 || nWink<2250) nAlign=SDRHORZALIGN_RIGHT |SDRVERTALIGN_CENTER; in SetAlignAngle() 171 nWink=NormAngle360(nWink); in EscAngleToDir() 172 if (nWink>=31500 || nWink<4500) return SDRESC_RIGHT; in EscAngleToDir() 202 long nWink=GetAngle(aPt); in Mirror() local 214 nAW+=2*(nWink-nAW); in Mirror() 222 nEW+=2*(nWink-nEW); in Mirror() 227 nEW+=2*(nWink-nEW); in Mirror() 232 nEW+=2*(nWink-nEW); in Mirror() 237 nEW+=2*(nWink-nEW); in Mirror() [all …]
|
H A D | svddrgmt.cxx | 2139 rTarget.Rotate(DragStat().GetRef1(), nWink, sin(nWink*nPi180), cos(nWink*nPi180)); in applyCurrentTransformationToSdrObject() 2147 nWink(0), in SdrDragRotate() 2248 if (nWink!=0) in EndSdrDrag() 2279 nWink(0), in SdrDragShear() 2494 if (nWink!=0) in applyCurrentTransformationToSdrObject() 2534 if (nWink!=0) in EndSdrDrag() 2570 nWink(0), in SdrDragMirror() 2579 nWink1-=nWink; in ImpCheckSide() 2870 nWink(0), in SdrDragCrook() 3238 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 | 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 | 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 | 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 | 405 void SdrGlueEditView::RotateMarkedGluePoints(const Point& rRef, long nWink, bool bCopy) in RotateMarkedGluePoints() argument 412 double nSin=sin(nWink*nPi180); in RotateMarkedGluePoints() 413 double nCos=cos(nWink*nPi180); in RotateMarkedGluePoints() 414 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()
|
/aoo4110/main/svx/inc/svx/ |
H A D | svdglue.hxx | 104 void SetAlignAngle(long nWink); 106 sal_uInt16 EscAngleToDir(long nWink) const; 107 void Rotate(const Point& rRef, long nWink, double sn, double cs, const SdrObject* pObj); 109 void Mirror(const Point& rRef1, const Point& rRef2, long nWink, const SdrObject* pObj); 110 …void Shear (const Point& rRef, long nWink, double tn, FASTBOOL bVShear, const SdrObject* p… 137 …void Rotate(const Point& rRef, long nWink, double sn, double cs, const SdrObject* p… 139 …void Mirror(const Point& rRef1, const Point& rRef2, long nWink, const SdrObject* pO… 140 …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 | 522 String GetWinkStr(long nWink, FASTBOOL bNoDegChar=sal_False) const; 776 virtual void NbcRotate(const Point& rRef, long nWink, double sn, double cs); 778 virtual void NbcShear (const Point& rRef, long nWink, double tn, FASTBOOL bVShear); 782 virtual void Rotate(const Point& rRef, long nWink, double sn, double cs); 784 virtual void Shear (const Point& rRef, long nWink, double tn, FASTBOOL bVShear); 939 void NbcRotateGluePoints(const Point& rRef, long nWink, double sn, double cs); 941 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);
|
/aoo4110/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);
|
/aoo4110/main/sw/source/core/draw/ |
H A D | dcontact.cxx | 2626 void SwDrawVirtObj::NbcRotate(const Point& rRef, long nWink, double sn, double cs) in NbcRotate() argument 2628 rRefObj.NbcRotate(rRef - GetOffset(), nWink, sn, cs); in NbcRotate() 2638 void SwDrawVirtObj::NbcShear(const Point& rRef, long nWink, double tn, FASTBOOL bVShear) in NbcShear() argument 2640 rRefObj.NbcShear(rRef - GetOffset(), nWink, tn, bVShear); in NbcShear() 2664 void SwDrawVirtObj::Rotate(const Point& rRef, long nWink, double sn, double cs) in Rotate() argument 2666 if(nWink) in Rotate() 2669 rRefObj.Rotate(rRef - GetOffset(), nWink, sn, cs); in Rotate() 2683 void SwDrawVirtObj::Shear(const Point& rRef, long nWink, double tn, FASTBOOL bVShear) in Shear() argument 2685 if(nWink) in Shear() 2688 rRefObj.Shear(rRef - GetOffset(), nWink, tn, bVShear); in Shear()
|
/aoo4110/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()
|