/aoo42x/main/basegfx/source/matrix/ |
H A D | b2dhommatrixtools.cxx | 153 double fSin(0.0); in createRotateB2DHomMatrix() local 159 aRetval.set(1, 0, fSin); in createRotateB2DHomMatrix() 160 aRetval.set(0, 1, -fSin); in createRotateB2DHomMatrix() 206 double fSin(0.0); in createScaleShearXRotateTranslateB2DHomMatrix() local 241 double fSin(0.0); in createScaleShearXRotateTranslateB2DHomMatrix() local 276 double fSin(0.0); in createShearXRotateTranslateB2DHomMatrix() local 285 /* Row 1, Column 0 */ fSin, in createShearXRotateTranslateB2DHomMatrix() 311 double fSin(0.0); in createShearXRotateTranslateB2DHomMatrix() local 320 /* Row 1, Column 0 */ fSin, in createShearXRotateTranslateB2DHomMatrix() 377 double fSin(0.0); in createRotateAroundPoint() local [all …]
|
H A D | b3dhommatrix.cxx | 203 double fSin(sin(fAngleX)); in rotate() local 208 aRotMatX.set(2, 1, fSin); in rotate() 209 aRotMatX.set(1, 2, -fSin); in rotate() 217 double fSin(sin(fAngleY)); in rotate() local 222 aRotMatY.set(0, 2, fSin); in rotate() 223 aRotMatY.set(2, 0, -fSin); in rotate() 231 double fSin(sin(fAngleZ)); in rotate() local 236 aRotMatZ.set(1, 0, fSin); in rotate() 237 aRotMatZ.set(0, 1, -fSin); in rotate()
|
H A D | b2dhommatrix.cxx | 225 double fSin(0.0); in rotate() local 228 tools::createSinCosOrthogonal(fSin, fCos, fRadiant); in rotate() 233 aRotMat.set(1, 0, fSin); in rotate() 234 aRotMat.set(0, 1, -fSin); in rotate() 417 const double fSin(sin(fNegRotate)); in decompose() local 420 const double fNewX(aUnitVecY.getX() * fCos - aUnitVecY.getY() * fSin); in decompose() 421 const double fNewY(aUnitVecY.getX() * fSin + aUnitVecY.getY() * fCos); in decompose()
|
/aoo42x/main/svx/source/engine3d/ |
H A D | camera3d.cxx | 201 aTemp.set(2, 1, fSin); in SetBankAngle() 202 aTemp.set(1, 2, -fSin); in SetBankAngle() 214 aTemp.set(0, 2, fSin); in SetBankAngle() 215 aTemp.set(2, 0, -fSin); in SetBankAngle() 229 aTemp.set(0, 2, fSin); in SetBankAngle() 230 aTemp.set(2, 0, -fSin); in SetBankAngle() 243 aTemp.set(2, 1, fSin); in SetBankAngle() 286 aTemp.set(0, 2, fSin); in Rotate() 304 aTemp.set(0, 2, fSin); in Rotate() 339 aTemp.set(0, 2, fSin); in RotateAroundLookAt() [all …]
|
H A D | viewpt3d2.cxx | 146 const double fSin(aVPN.getY() / fV); in MakeTransform() local 150 aTemp.set(2, 1, fSin); in MakeTransform() 151 aTemp.set(1, 2, -fSin); in MakeTransform() 157 const double fSin(-aVPN.getX()); in MakeTransform() local 161 aTemp.set(0, 2, fSin); in MakeTransform() 162 aTemp.set(2, 0, -fSin); in MakeTransform() 175 const double fSin(fXupVp / fV); in MakeTransform() local 179 aTemp.set(1, 0, fSin); in MakeTransform() 180 aTemp.set(0, 1, -fSin); in MakeTransform()
|
/aoo42x/main/vcl/source/gdi/ |
H A D | gdimtf.cxx | 951 const Size& rOffset, double fSin, double fCos ) in ImplGetRotatedPoint() argument 956 return Point( FRound( fCos * nX + fSin * nY ) + rRotatePt.X() + rOffset.Width(), in ImplGetRotatedPoint() 957 -FRound( fSin * nX - fCos * nY ) + rRotatePt.Y() + rOffset.Height() ); in ImplGetRotatedPoint() 963 const Size& rOffset, double fSin, double fCos ) in ImplGetRotatedPolygon() argument 967 aRet.Rotate( rRotatePt, fSin, fCos ); in ImplGetRotatedPolygon() 976 const Size& rOffset, double fSin, double fCos ) in ImplGetRotatedPolyPolygon() argument 980 aRet.Rotate( rRotatePt, fSin, fCos ); in ImplGetRotatedPolyPolygon() 1024 const double fSin = sin( fAngle ); in Rotate() local 1029 aPoly.Rotate( Point(), fSin, fCos ); in Rotate() 1309 aStroke.setPath( ImplGetRotatedPolygon( aPath, aRotAnchor, aRotOffset, fSin, fCos ) ); in Rotate() [all …]
|
H A D | sallayout.cxx | 800 static double fCos = 1.0, fSin = 0.0; in GetDrawPosition() local 806 fSin = sin( fRad ); in GetDrawPosition() 811 long nX = static_cast<long>( +fCos * fX + fSin * fY ); in GetDrawPosition() 812 long nY = static_cast<long>( +fCos * fY - fSin * fX ); in GetDrawPosition()
|
H A D | pdfwriter_impl.cxx | 1021 double fSin = sin(angle); in rotate() local 1023 fn[0] = f[0]*fCos - f[1]*fSin; in rotate() 1024 fn[1] = f[0]*fSin + f[1]*fCos; in rotate() 1025 fn[2] = f[2]*fCos - f[3]*fSin; in rotate() 1026 fn[3] = f[2]*fSin + f[3]*fCos; in rotate() 1027 fn[4] = f[4]*fCos - f[5]*fSin; in rotate() 1028 fn[5] = f[4]*fSin + f[5]*fCos; in rotate()
|
/aoo42x/main/svx/source/xoutdev/ |
H A D | _xpoly.cxx | 1237 nNewX = (long)floor(fCos * nX + fSin * nY + 0.5); in Rotate() 1238 nNewY = -(long)floor(fSin * nX - fCos * nY + 0.5); in Rotate() 1276 double fSin = sin(fAngle); in Rotate() local 1278 Rotate(rCenter, fSin, fCos); in Rotate() 1318 void XPolygon::SlantX(long nYRef, double fSin, double fCos) in SlantX() argument 1329 rPnt.X() += (long)(fSin * nDy); in SlantX() 1345 void XPolygon::SlantY(long nXRef, double fSin, double fCos) in SlantY() argument 1357 rPnt.Y() -= (long)(fSin * nDx); in SlantY() 2017 double fSin = sin(fAngle); in Rotate() local 2019 Rotate(rCenter, fSin, fCos); in Rotate() [all …]
|
/aoo42x/main/svx/inc/svx/ |
H A D | xpoly.hxx | 125 void Rotate(const Point& rCenter, double fSin, double fCos); 128 void SlantX(long nYRef, double fSin, double fCos); 129 void SlantY(long nXRef, double fSin, double fCos); 190 void Rotate(const Point& rCenter, double fSin, double fCos); 193 void SlantX(long nYRef, double fSin, double fCos); 194 void SlantY(long nXRef, double fSin, double fCos);
|
H A D | svdopath.hxx | 128 virtual void NbcRotate(const Point& rRefPnt, long nAngle, double fSin, double fCos);
|
/aoo42x/main/tools/inc/tools/ |
H A D | poly.hxx | 206 void Rotate( const Point& rCenter, double fSin, double fCos ); 208 void SlantX( long nYRef, double fSin, double fCos ); 209 void SlantY( long nXRef, double fSin, double fCos ); 309 void Rotate( const Point& rCenter, double fSin, double fCos ); 311 void SlantX( long nYRef, double fSin, double fCos ); 312 void SlantY( long nXRef, double fSin, double fCos );
|
/aoo42x/main/tools/source/generic/ |
H A D | poly2.cxx | 527 void PolyPolygon::Rotate( const Point& rCenter, double fSin, double fCos ) in Rotate() argument 540 mpImplPolyPolygon->mpPolyAry[ i ]->Rotate( rCenter, fSin, fCos ); in Rotate() 545 void PolyPolygon::SlantX( long nYRef, double fSin, double fCos ) in SlantX() argument 558 mpImplPolyPolygon->mpPolyAry[ i ]->SlantX( nYRef, fSin, fCos ); in SlantX() 563 void PolyPolygon::SlantY( long nXRef, double fSin, double fCos ) in SlantY() argument 576 mpImplPolyPolygon->mpPolyAry[ i ]->SlantY( nXRef, fSin, fCos ); in SlantY()
|
H A D | poly.cxx | 1297 void Polygon::Rotate( const Point& rCenter, double fSin, double fCos ) in Rotate() argument 1312 rPt.X() = (long) FRound( fCos * nX + fSin * nY ) + nCenterX; in Rotate() 1313 rPt.Y() = -(long) FRound( fSin * nX - fCos * nY ) + nCenterY; in Rotate() 1319 void Polygon::SlantX( long nYRef, double fSin, double fCos ) in SlantX() argument 1329 rPnt.X() += (long)( fSin * nDy ); in SlantX() 1336 void Polygon::SlantY( long nXRef, double fSin, double fCos ) in SlantY() argument 1347 rPnt.Y() -= (long)( fSin * nDx ); in SlantY()
|
/aoo42x/main/vcl/unx/generic/printergfx/ |
H A D | text_gfx.cxx | 474 double fSin = sin( -2.0*M_PI*nNormalAngle/3600 ); in drawVerticalizedText() local 502 aPoint.Y() = (sal_Int32)(rPoint.Y() + ((double)pDeltaArray[i-1] * fSin)); in drawVerticalizedText() 526 aPos.X() += (sal_Int32)(+nA * fCos + nD * fSin); in drawVerticalizedText() 527 aPos.Y() += (sal_Int32)(-nA * fSin + nD * fCos); in drawVerticalizedText() 530 aPos.X() += (sal_Int32)(+nA * fSin + nD * fCos); in drawVerticalizedText() 538 aPoint.Y() = (sal_Int32)(rPoint.Y() + ((double)pDeltaArray[i] * fSin)); in drawVerticalizedText()
|
/aoo42x/main/svx/source/dialog/ |
H A D | dialcontrol.cxx | 88 double fSin = sin( fAngle ); in DrawElements() local 92 long nX = static_cast< long >( mnCenterX - fWidth * fCos - fHeight * fSin ); in DrawElements() 93 long nY = static_cast< long >( mnCenterY + fWidth * fSin - fHeight * fCos ); in DrawElements() 104 nY = mnCenterY - static_cast< long >( (mnCenterY - DIAL_OUTER_WIDTH / 2) * fSin ); in DrawElements()
|
/aoo42x/main/vcl/inc/vcl/ |
H A D | gdimtf.hxx | 125 … const Size& rOffset, double fSin, double fCos ); 127 … const Size& rOffset, double fSin, double fCos ); 129 … const Size& rOffset, double fSin, double fCos );
|
/aoo42x/main/oox/source/drawingml/chart/ |
H A D | converterbase.cxx | 416 double fSin = fabs( sin( fRotationAngle * F_PI180 ) ); in convertFromModel() local 419 aShapePos.X += static_cast< sal_Int32 >( fSin * aShapeSize.Height + 0.5 ); in convertFromModel() 422 aShapePos.Y += static_cast< sal_Int32 >( fSin * aShapeSize.Width + 0.5 ); in convertFromModel()
|
/aoo42x/main/svx/source/sidebar/possize/ |
H A D | SidebarDialControlBmp.cxx | 57 double fSin = sin( fAngle ); in DrawElements() local 61 const sal_Int32 nDy (-fSin * (maRect.GetHeight()-4) / 2); in DrawElements()
|
/aoo42x/main/filter/source/graphicfilter/icgm/ |
H A D | bitmap.cxx | 184 double fSin = sin(fAngle); in ImplGetBitmap() local 186 nX = fCos * nX + fSin * nY; in ImplGetBitmap() 187 nY = -( fSin * nX - fCos * nY ); in ImplGetBitmap()
|
/aoo42x/main/filter/source/msfilter/ |
H A D | eschesdo.cxx | 125 double fSin = sin( fVal ); in ImplFlipBoundingBox() local 130 double nXDiff = fCos * nWidthHalf + fSin * (-nHeightHalf); in ImplFlipBoundingBox() 131 double nYDiff = - ( fSin * nWidthHalf - fCos * ( -nHeightHalf ) ); in ImplFlipBoundingBox()
|
/aoo42x/main/drawinglayer/source/primitive3d/ |
H A D | polygontubeprimitive3d.cxx | 284 const double fSin(sin(-fAngle)); in getLineJoinSegments() local 315 aNextPointOnXY.getX() * fSin); in getLineJoinSegments()
|
/aoo42x/main/svx/source/svdraw/ |
H A D | svdotextpathdecomposition.cxx | 446 const double fSin(sin(fShearValue)); in HandlePair() local 449 aNewTransformB.shearX(-fSin); in HandlePair()
|
/aoo42x/main/sc/source/filter/excel/ |
H A D | xichart.cxx | 1196 double fSin = fabs( sin( fRad ) ); in ConvertTitlePosition() local 1199 static_cast< sal_Int32 >( fCos * aTitleSize.Width + fSin * aTitleSize.Height + 0.5 ), in ConvertTitlePosition() 1200 static_cast< sal_Int32 >( fSin * aTitleSize.Width + fCos * aTitleSize.Height + 0.5 ) ); in ConvertTitlePosition() 1207 aTitlePos.X += static_cast< sal_Int32 >( fSin * aTitleSize.Height + 0.5 ); in ConvertTitlePosition() 1210 aTitlePos.Y += static_cast< sal_Int32 >( fSin * aTitleSize.Width + 0.5 ); in ConvertTitlePosition()
|
/aoo42x/main/chart2/source/view/main/ |
H A D | ShapeFactory.cxx | 880 const double fSin = sin(fCurrentSegmentAngle/2.0); in getCircularArcBezierCoords() local 883 P0.setY(-fSin); in getCircularArcBezierCoords() 888 P1.setY((1.0-fCos)*(fCos-3.0)/(3.0*fSin)); in getCircularArcBezierCoords()
|