Home
last modified time | relevance | path

Searched refs:nSin (Results 1 – 25 of 36) sorted by relevance

12

/aoo41x/main/sdext/source/presenter/
H A DPresenterClock.cxx873 const double nSin (sin(nAngle - M_PI/2)); in PaintAngledLine() local
879 maCenter.Y + nInnerRadius*nSin + 0.5); in PaintAngledLine()
882 maCenter.Y + nOuterRadius*nSin + 0.5); in PaintAngledLine()
965 const double nSin (sin(nMinuteAngle - M_PI/2)); in Paint() local
968 -nSin, in Paint()
970 + maMinuteHand.maScaledOffset.Y*nSin+maCenter.X, in Paint()
971 nSin, in Paint()
973 -maMinuteHand.maScaledOffset.X*nSin in Paint()
982 const double nSin (sin(nHoursAngle - M_PI/2)); in Paint() local
985 -nSin, in Paint()
[all …]
/aoo41x/main/svx/source/svdraw/
H A Dsvdtrans.cxx192 double nSin=sin(a); in MirrorPoint() local
194 RotatePoint(rPnt,Point(),nSin,nCos); in MirrorPoint()
413 double nSin,nCos; in CrookRotatePoly() local
430 CrookRotateXPoint(*pPnt,pC1,pC2,rCenter,rRad,nSin,nCos,bVert); in CrookRotatePoly()
436 double nSin,nCos; in CrookSlantPoly() local
453 CrookSlantXPoint(*pPnt,pC1,pC2,rCenter,rRad,nSin,nCos,bVert); in CrookSlantPoly()
459 double nSin,nCos; in CrookStretchPoly() local
476 CrookStretchXPoint(*pPnt,pC1,pC2,rCenter,rRad,nSin,nCos,bVert,rRefRect); in CrookStretchPoly()
576 nSin=0.0; in RecalcSinCos()
580 nSin=sin(a); in RecalcSinCos()
[all …]
H A Dsvdorect.cxx161 if (aGeo.nDrehWink!=0) RotateXPoly(aXPoly,aRect.TopLeft(),aGeo.nSin,aGeo.nCos); in ImpCalcXPoly()
225 RotatePoint(aTmpPt,aRef,aGeo.nSin,aGeo.nCos); in TakeUnrotatedSnapRect()
369 RotatePoint(aPnt,aRect.TopLeft(),aGeo.nSin,aGeo.nCos); in GetHdl()
411 RotatePoint(aPt,aRect.TopLeft(),-aGeo.nSin,aGeo.nCos); in applySpecialDrag()
449 RotatePoint(aPt, aRect.TopLeft(), -aGeo.nSin, aGeo.nCos); in getSpecialDragComment()
550 if (aGeo.nDrehWink!=0) RotatePoint(aPt,aRect.TopLeft(),aGeo.nSin,aGeo.nCos); in GetVertexGluePoint()
576 if (aGeo.nDrehWink!=0) RotatePoint(aPt,aRect.TopLeft(),aGeo.nSin,aGeo.nCos); in GetCornerGluePoint()
H A Dsvdocirc.cxx465 RotatePoint(aPnt,aRect.TopLeft(),aGeo.nSin,aGeo.nCos); in GetHdl()
512 RotatePoint(aPt,aRect.TopLeft(),-aGeo.nSin,aGeo.nCos); in applySpecialDrag()
903 RotatePoint(aTmpPt1,aRect.TopLeft(),aGeo.nSin,aGeo.nCos); in NbcMirror()
904 RotatePoint(aTmpPt2,aRect.TopLeft(),aGeo.nSin,aGeo.nCos); in NbcMirror()
917 RotatePoint(aTmpPt1,aRect.TopLeft(),-aGeo.nSin,aGeo.nCos); // -sin fuer Umkehrung in NbcMirror()
918 RotatePoint(aTmpPt2,aRect.TopLeft(),-aGeo.nSin,aGeo.nCos); // -sin fuer Umkehrung in NbcMirror()
1004 RotatePoint(aDst,Point(),aGeo.nSin,aGeo.nCos); in TakeUnrotatedSnapRect()
1015 RotatePoint(aTmpPt,aRef,aGeo.nSin,aGeo.nCos); in TakeUnrotatedSnapRect()
H A Dsvddrgmt.cxx1124 double nSin=sin(a); in MoveSdrDrag() local
1126 RotatePoint(aPnt,aRef,nSin,nCos); in MoveSdrDrag()
2144 nSin(0.0), in SdrDragRotate()
2194 -atan2(nSin, nCos)); in getCurrentTransformation()
2236 nSin=nSin1; in MoveSdrDrag()
3066 double nSin=0,nCos=0; in _MovAllPoints() local
3086 RotateXPoly(aTempPolyPoly[i],aCtr0,nSin,nCos); in _MovAllPoints()
3171 double nSin,nCos; in _MovCrookPoint() local
3175 case SDRCROOK_ROTATE : CrookRotateXPoint (rPnt,pC1,pC2,aC,aRad,nSin,nCos,bVert); break; in _MovCrookPoint()
3176 case SDRCROOK_SLANT : CrookSlantXPoint (rPnt,pC1,pC2,aC,aRad,nSin,nCos,bVert); break; in _MovCrookPoint()
[all …]
H A Dsvdotxdr.cxx75 if (aGeo.nDrehWink!=0) RotatePoint(aPnt,aRect.TopLeft(),aGeo.nSin,aGeo.nCos); in GetHdl()
101 if (aGeo.nDrehWink!=0) RotatePoint(aPos,aTmpRect.TopLeft(),-aGeo.nSin,aGeo.nCos); in ImpDragCalcRect()
180 RotatePoint(aNewPos,aRect.TopLeft(),aGeo.nSin,aGeo.nCos); in applySpecialDrag()
H A Dsvdotext.cxx829 RotatePoint(aTmpPt,aRotateRef,aGeo.nSin,aGeo.nCos); in TakeTextAnchorRect()
997 RotatePoint(aTextPos,aAnkRect.TopLeft(),aGeo.nSin,aGeo.nCos); in TakeTextRect()
1274 if (aGeo.nDrehWink!=0) RotatePoly(aPol,aRect.TopLeft(),aGeo.nSin,aGeo.nCos); in TakeXorPoly()
1301 if (aGeo.nDrehWink!=0) RotatePoly(aPol,aR.TopLeft(),aGeo.nSin,aGeo.nCos); in TakeContour()
1314 if (aGeo.nDrehWink!=0) RotatePoly(aPol,aRect.TopLeft(),aGeo.nSin,aGeo.nCos); in RecalcSnapRect()
1337 if (aGeo.nDrehWink!=0) RotatePoint(aP,aRect.TopLeft(),aGeo.nSin,aGeo.nCos); in GetSnapPoint()
1846 Rotate(Point(), aGeoStat.nDrehWink, aGeoStat.nSin, aGeoStat.nCos); in TRSetBaseGeometry()
H A Dsvdedtv1.cxx345 double nSin=sin(nWink*nPi180); in RotateMarkedObj() local
373 pO->Rotate(rRef,nWink,nSin,nCos); in RotateMarkedObj()
573 double nSin(0.0), nCos(1.0); in ImpCrookObj() local
582 …case SDRCROOK_ROTATE : nWink=CrookRotateXPoint (aCtr1,NULL,NULL,rRef,rRad,nSin,nCos,bVertical); bR… in ImpCrookObj()
583 …case SDRCROOK_SLANT : nWink=CrookSlantXPoint (aCtr1,NULL,NULL,rRef,rRad,nSin,nCos,bVertical); … in ImpCrookObj()
584 …case SDRCROOK_STRETCH: nWink=CrookStretchXPoint(aCtr1,NULL,NULL,rRef,rRad,nSin,nCos,bVertical,rMar… in ImpCrookObj()
591 pO->Rotate(aCtr0, Round(nWink/nPi180), nSin, nCos); in ImpCrookObj()
H A Dsvdglev.cxx412 double nSin=sin(nWink*nPi180); in RotateMarkedGluePoints() local
414 ImpTransformMarkedGluePoints(ImpRotate,&rRef,&nWink,&nSin,&nCos); in RotateMarkedGluePoints()
H A Dsvdpoev.cxx734 double nSin=sin(nWink*nPi180); in RotateMarkedPoints() local
736 ImpTransformMarkedPoints(ImpRotate,&rRef,&nWink,&nSin,&nCos); in RotateMarkedPoints()
H A Dsvdomeas.cxx905 double nSin=sin(a); in ImpEvalDrag() local
917 RotatePoint(aPt,aPt1,nSin,-nCos); in ImpEvalDrag()
923 RotatePoint(aPt,aPt2,nSin,-nCos); in ImpEvalDrag()
956 RotatePoint(aPt,(nHdlNum==4 ? aPt1 : aPt2),nSin,-nCos); in ImpEvalDrag()
H A Dsvdoashp.cxx2043 if (aGeo.nDrehWink!=0) RotatePoint(aPt,aRect.TopLeft(),aGeo.nSin,aGeo.nCos); in GetVertexGluePoint()
2285 if ( pObj->aGeo.nDrehWink ) RotatePoint(aNewPos, aOld.TopLeft(), aGeoStat.nSin, aGeoStat.nCos ); in DragResizeCustomShape()
2744 RotatePoint(aD2,Point(),aGeo.nSin,aGeo.nCos); in AdjustTextFrameWidthAndHeight()
2868 RotatePoint(aCenter,Point(),aGeo.nSin,aGeo.nCos); in TakeTextEditArea()
2971 RotatePoint( aP, aRotateRef, aGeo.nSin, aGeo. nCos ); in TakeTextAnchorRect()
3101 RotatePoint(aTextPos,aAnkRect.TopLeft(),aGeo.nSin,aGeo.nCos); in TakeTextRect()
3372 Rotate(Point(), aGeoStat.nDrehWink, aGeoStat.nSin, aGeoStat.nCos); in TRSetBaseGeometry()
H A Dsvddrgm1.hxx68 double nSin; member in SdrDragRotate
H A Dsvdotxed.cxx154 RotatePoint(aCenter,Point(),aGeo.nSin,aGeo.nCos); in TakeTextEditArea()
H A Dsvdobj.cxx2134 double nSin=sin(n*nPi180); in NbcApplyNotPersistAttr() local
2136 NbcRotate(aRef1,n,nSin,nCos); in NbcApplyNotPersistAttr()
2141 double nSin=sin(n*nPi180); in NbcApplyNotPersistAttr() local
2143 NbcRotate(aRef1,n,nSin,nCos); in NbcApplyNotPersistAttr()
H A Dsvdotxat.cxx198 RotatePoint(aD2,Point(),aGeo.nSin,aGeo.nCos); in AdjustTextFrameWidthAndHeight()
H A Dsvdotxtr.cxx268 aGeo.nSin=sn; in NbcRotate()
H A Dsvdouno.cxx369 aGeo.nSin = 0.0; in NbcResize()
H A Dsvdfmtf.cxx1067 double nSin=sin(a); in ImportText() local
1069 pText->NbcRotate(aPos,nWink,nSin,nCos); in ImportText()
/aoo41x/main/sc/source/ui/view/
H A Doutput2.cxx3203 double nSin = 0.0; in DrawRotated() local
3223 nSin = sin( nRealOrient ); in DrawRotated()
3302 double nAbsSin = fabs( nSin ); in DrawRotated()
3348 double nAbsSin = fabs( nSin ); in DrawRotated()
3602 nAddX += nH * ( nCos / fabs(nSin) ); in DrawRotated()
3606 if ( nSin < 0.0 ) in DrawRotated()
3607 nAddX -= nRealHeight * nSin; in DrawRotated()
3608 if ( nSin > 0.0 ) in DrawRotated()
3609 nAddY += nRealWidth * nSin; in DrawRotated()
3628 if ( nSin > 0.0 ) in DrawRotated()
[all …]
/aoo41x/main/editeng/source/editeng/
H A Dimpedit3.cxx114 double nSin = sin( nRealOrientation ); in Rotate() local
123 aRotatedPos.X() = (long) ( nCos*aTranslatedPos.X() + nSin*aTranslatedPos.Y() ); in Rotate()
124 aRotatedPos.Y() = (long) - ( nSin*aTranslatedPos.X() - nCos*aTranslatedPos.Y() ); in Rotate()
244 Point lcl_ImplCalcRotatedPos( Point rPos, Point rOrigin, double nSin, double nCos ) in lcl_ImplCalcRotatedPos() argument
251 aRotatedPos.X() = (long) ( nCos*aTranslatedPos.X() + nSin*aTranslatedPos.Y() ); in lcl_ImplCalcRotatedPos()
252 aRotatedPos.Y() = (long) - ( nSin*aTranslatedPos.X() - nCos*aTranslatedPos.Y() ); in lcl_ImplCalcRotatedPos()
2882 double nCos = 0.0, nSin = 0.0; in Paint() local
2887 nSin = sin( nRealOrientation ); in Paint()
3357 … aOutPos = lcl_ImplCalcRotatedPos( aOutPos, aOrigin, nSin, nCos ); in Paint()
3403 aUnderlinePos = lcl_ImplCalcRotatedPos( aTmpPos, aOrigin, nSin, nCos ); in Paint()
[all …]
/aoo41x/main/svx/inc/svx/
H A Dsvdtrans.hxx224 double nSin; // sin(nDrehWink) member in GeoStat
228 GeoStat(): nDrehWink(0),nShearWink(0),nTan(0.0),nSin(0.0),nCos(1.0),bMirrored(false) {} in GeoStat()
/aoo41x/main/svx/source/tbxctrls/
H A Dgrafctrl.cxx1066 aGeo.nSin,aGeo.nCos); in ExecuteGrafAttr()
1067 RotatePoint(aOffset, Point(0,0), aGeo.nSin,aGeo.nCos); in ExecuteGrafAttr()
/aoo41x/main/editeng/source/outliner/
H A Doutliner.cxx1063 double nSin = sin( nRealOrientation ); in PaintBullet() local
1068 aRotatedPos.X()=(long) (nCos*aTextPos.X() + nSin*aTextPos.Y()); in PaintBullet()
1069 aRotatedPos.Y()=(long) - (nSin*aTextPos.X() - nCos*aTextPos.Y()); in PaintBullet()
/aoo41x/main/svx/source/customshapes/
H A DEnhancedCustomShapeEngine.cxx199 rSourceGeo.nSin, rSourceGeo.nCos); in ImplForceGroupWithText()

Completed in 342 milliseconds

12