Home
last modified time | relevance | path

Searched refs:nCos (Results 1 – 25 of 35) sorted by path

12

/trunk/main/editeng/source/editeng/
H A Dimpedit3.cxx113 double nCos = cos( 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
2886 nCos = cos( nRealOrientation ); in Paint()
3357 … aOutPos = lcl_ImplCalcRotatedPos( aOutPos, aOrigin, nSin, nCos ); in Paint()
3403 aUnderlinePos = lcl_ImplCalcRotatedPos( aTmpPos, aOrigin, nSin, nCos ); in Paint()
[all …]
/trunk/main/editeng/source/outliner/
H A Doutliner.cxx1062 double nCos = cos( 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()
/trunk/main/sc/source/core/data/
H A Ddrwlayer.cxx1978 RotatePoint( aRelPoint, aLogRect.TopLeft(), -rGeo.nSin, rGeo.nCos ); in GetHitIMapObject()
H A Dtable2.cxx1480 double nCos = cos( nRealOrient ); in FillMaxRot() local
1487 nFactor = -fabs( nCos / nSin ); in FillMaxRot()
/trunk/main/sc/source/ui/view/
H A Doutput.cxx1498 double nCos = cos( nRealOrient ); in DrawRotatedFrame() local
1501 long nSkew = (long) ( nRowHeight * nCos / nSin ); in DrawRotatedFrame()
H A Doutput2.cxx3204 double nCos = 1.0; in DrawRotated() local
3222 nCos = cos( nRealOrient ); in DrawRotated()
3301 double nAbsCos = fabs( nCos ); in DrawRotated()
3347 double nAbsCos = fabs( nCos ); in DrawRotated()
3601 double nH = nRealHeight * nCos; in DrawRotated()
3602 nAddX += nH * ( nCos / fabs(nSin) ); in DrawRotated()
3605 nAddX -= nRealWidth * nCos; in DrawRotated()
3610 if ( nCos < 0.0 ) in DrawRotated()
3611 nAddY -= nRealHeight * nCos; in DrawRotated()
3616 double nSkew = nTotalHeight * nCos / fabs(nSin); in DrawRotated()
[all …]
/trunk/main/sd/source/core/
H A Ddrawdoc2.cxx1160 RotatePoint( aRelPoint, rRect.TopLeft(), -rGeo.nSin, rGeo.nCos ); in GetHitIMapObject()
/trunk/main/sdext/source/presenter/
H A DPresenterClock.cxx872 const double nCos (cos(nAngle - M_PI/2)); in PaintAngledLine() local
878 maCenter.X + nInnerRadius*nCos + 0.5, in PaintAngledLine()
881 maCenter.X + nOuterRadius*nCos + 0.5, in PaintAngledLine()
964 const double nCos (cos(nMinuteAngle - M_PI/2)); in Paint() local
967 nCos, in Paint()
969 -maMinuteHand.maScaledOffset.X*nCos in Paint()
972 nCos, in Paint()
974 - maMinuteHand.maScaledOffset.Y*nCos+maCenter.Y); in Paint()
981 const double nCos (cos(nHoursAngle - M_PI/2)); in Paint() local
984 nCos, in Paint()
[all …]
/trunk/main/svx/inc/svx/
H A Dsvdtrans.hxx225 double nCos; // cos(nDrehWink) member in GeoStat
228 GeoStat(): nDrehWink(0),nShearWink(0),nTan(0.0),nSin(0.0),nCos(1.0),bMirrored(false) {} in GeoStat()
/trunk/main/svx/source/customshapes/
H A DEnhancedCustomShapeEngine.cxx199 rSourceGeo.nSin, rSourceGeo.nCos); in ImplForceGroupWithText()
/trunk/main/svx/source/svdraw/
H A Dsvddrgm1.hxx69 double nCos; member in SdrDragRotate
H A Dsvddrgmt.cxx1123 double nCos=cos(a); in MoveSdrDrag() local
1124 RotatePoint(aPnt,aRef,nSin,nCos); in MoveSdrDrag()
2142 nCos(1.0), in SdrDragRotate()
2191 -atan2(nSin, nCos)); in getCurrentTransformation()
2234 nCos=nCos1; in MoveSdrDrag()
2451 double nCos=cos(nTmpWink*nPi180); in MoveSdrDrag() local
2452 aNeuFact=nCos; in MoveSdrDrag()
3063 double nSin=0,nCos=0; in _MovAllPoints() local
3083 RotateXPoly(aTempPolyPoly[i],aCtr0,nSin,nCos); in _MovAllPoints()
3168 double nSin,nCos; in _MovCrookPoint() local
[all …]
H A Dsvdedtv1.cxx346 double nCos=cos(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 Dsvdedtv2.cxx1632 rSourceGeo.nSin, rSourceGeo.nCos); in ImpDismantleOneObject()
2140 … pCandidate->NbcRotate(aLogicRect.TopLeft(), aGeoStat.nDrehWink, aGeoStat.nSin, aGeoStat.nCos); in DoImportMarkedMtf()
H A Dsvdfmtf.cxx1071 double nCos=cos(a); in ImportText() local
1072 pText->NbcRotate(aPos,nWink,nSin,nCos); in ImportText()
H A Dsvdglev.cxx402 double nCos=cos(nWink*nPi180); in RotateMarkedGluePoints() local
403 ImpTransformMarkedGluePoints(ImpRotate,&rRef,&nWink,&nSin,&nCos); in RotateMarkedGluePoints()
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 Dsvdobj.cxx2135 double nCos=cos(n*nPi180); in NbcApplyNotPersistAttr() local
2136 NbcRotate(aRef1,n,nSin,nCos); in NbcApplyNotPersistAttr()
2142 double nCos=cos(n*nPi180); in NbcApplyNotPersistAttr() local
2143 NbcRotate(aRef1,n,nSin,nCos); in NbcApplyNotPersistAttr()
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 Dsvdograf.cxx1287 … pGrp->NbcRotate(aRect.TopLeft(), aGeoStat.nDrehWink, aGeoStat.nSin, aGeoStat.nCos); in DoConvertToPolyObj()
H A Dsvdomeas.cxx906 double nCos=cos(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 Dsvdopath.cxx2434 RotateXPoly(aXPP,Point(),-aGeo.nSin,aGeo.nCos); in TakeUnrotatedSnapRect()
2437 RotatePoint(aTmp,Point(),aGeo.nSin,aGeo.nCos); in TakeUnrotatedSnapRect()
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 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 Dsvdotxat.cxx198 RotatePoint(aD2,Point(),aGeo.nSin,aGeo.nCos); in AdjustTextFrameWidthAndHeight()

Completed in 232 milliseconds

12