Home
last modified time | relevance | path

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

/trunk/main/basegfx/source/matrix/
H A Db2dhommatrixtools.cxx154 double fCos(1.0); in createRotateB2DHomMatrix() local
157 aRetval.set(0, 0, fCos); in createRotateB2DHomMatrix()
158 aRetval.set(1, 1, fCos); in createRotateB2DHomMatrix()
207 double fCos(1.0); in createScaleShearXRotateTranslateB2DHomMatrix() local
242 double fCos(1.0); in createScaleShearXRotateTranslateB2DHomMatrix() local
277 double fCos(1.0); in createShearXRotateTranslateB2DHomMatrix() local
282 /* Row 0, Column 0 */ fCos, in createShearXRotateTranslateB2DHomMatrix()
312 double fCos(1.0); in createShearXRotateTranslateB2DHomMatrix() local
378 double fCos(1.0); in createRotateAroundPoint() local
383 /* Row 0, Column 0 */ fCos, in createRotateAroundPoint()
[all …]
H A Db3dhommatrix.cxx204 double fCos(cos(fAngleX)); in rotate() local
206 aRotMatX.set(1, 1, fCos); in rotate()
207 aRotMatX.set(2, 2, fCos); in rotate()
218 double fCos(cos(fAngleY)); in rotate() local
220 aRotMatY.set(0, 0, fCos); in rotate()
221 aRotMatY.set(2, 2, fCos); in rotate()
232 double fCos(cos(fAngleZ)); in rotate() local
234 aRotMatZ.set(0, 0, fCos); in rotate()
235 aRotMatZ.set(1, 1, fCos); in rotate()
H A Db2dhommatrix.cxx226 double fCos(1.0); in rotate() local
228 tools::createSinCosOrthogonal(fSin, fCos, fRadiant); in rotate()
231 aRotMat.set(0, 0, fCos); in rotate()
232 aRotMat.set(1, 1, fCos); in rotate()
418 const double fCos(cos(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()
/trunk/main/svx/source/engine3d/
H A Dcamera3d.cxx199 aTemp.set(1, 1, fCos); in SetBankAngle()
200 aTemp.set(2, 2, fCos); in SetBankAngle()
210 const double fCos(fV); in SetBankAngle() local
212 aTemp.set(0, 0, fCos); in SetBankAngle()
213 aTemp.set(2, 2, fCos); in SetBankAngle()
225 const double fCos(fV); in SetBankAngle() local
227 aTemp.set(0, 0, fCos); in SetBankAngle()
228 aTemp.set(2, 2, fCos); in SetBankAngle()
241 aTemp.set(1, 1, fCos); in SetBankAngle()
242 aTemp.set(2, 2, fCos); in SetBankAngle()
[all …]
H A Dviewpt3d2.cxx147 const double fCos(aVPN.getZ() / fV); in MakeTransform() local
148 aTemp.set(2, 2, fCos); in MakeTransform()
149 aTemp.set(1, 1, fCos); in MakeTransform()
158 const double fCos(fV); in MakeTransform() local
159 aTemp.set(2, 2, fCos); in MakeTransform()
160 aTemp.set(0, 0, fCos); in MakeTransform()
176 const double fCos(fYupVp / fV); in MakeTransform() local
177 aTemp.set(1, 1, fCos); in MakeTransform()
178 aTemp.set(0, 0, fCos); in MakeTransform()
/trunk/main/vcl/source/gdi/
H A Dgdimtf.cxx951 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()
1025 const double fCos = cos( 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 Dsallayout.cxx800 static double fCos = 1.0, fSin = 0.0; in GetDrawPosition() local
805 fCos = cos( 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 Dpdfwriter_impl.cxx1022 double fCos = cos(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()
/trunk/main/svx/source/xoutdev/
H A D_xpoly.cxx1237 nNewX = (long)floor(fCos * nX + fSin * nY + 0.5); in Rotate()
1238 nNewY = -(long)floor(fSin * nX - fCos * nY + 0.5); in Rotate()
1277 double fCos = cos(fAngle); in Rotate() local
1278 Rotate(rCenter, fSin, fCos); in Rotate()
1318 void XPolygon::SlantX(long nYRef, double fSin, double fCos) in SlantX() argument
1330 rPnt.Y() = nYRef + (long)(fCos * nDy); in SlantX()
1345 void XPolygon::SlantY(long nXRef, double fSin, double fCos) in SlantY() argument
1356 rPnt.X() = nXRef + (long)(fCos * nDx); in SlantY()
2018 double fCos = cos(fAngle); in Rotate() local
2019 Rotate(rCenter, fSin, fCos); in Rotate()
[all …]
/trunk/main/svx/inc/svx/
H A Dxpoly.hxx125 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 Dsvdopath.hxx128 virtual void NbcRotate(const Point& rRefPnt, long nAngle, double fSin, double fCos);
/trunk/main/tools/inc/tools/
H A Dpoly.hxx206 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 );
/trunk/main/vcl/unx/generic/printergfx/
H A Dtext_gfx.cxx475 double fCos = cos( -2.0*M_PI*nNormalAngle/3600 ); in drawVerticalizedText() local
501 aPoint.X() = (sal_Int32)(rPoint.X() + ((double)pDeltaArray[i-1] * fCos)); 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()
531 aPos.Y() += (sal_Int32)(-(nTextScale*fStretch - nD) * fCos); in drawVerticalizedText()
537 aPoint.X() = (sal_Int32)(rPoint.X() + ((double)pDeltaArray[i] * fCos)); in drawVerticalizedText()
/trunk/main/tools/source/generic/
H A Dpoly2.cxx527 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 Dpoly.cxx1297 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
1330 rPnt.Y() = nYRef + (long)( fCos * nDy ); in SlantX()
1336 void Polygon::SlantY( long nXRef, double fSin, double fCos ) in SlantY() argument
1346 rPnt.X() = nXRef + (long)( fCos * nDx ); in SlantY()
/trunk/main/svx/source/dialog/
H A Ddialcontrol.cxx89 double fCos = cos( 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()
103 nX = mnCenterX - static_cast< long >( (DIAL_OUTER_WIDTH / 2 - mnCenterX) * fCos ); in DrawElements()
/trunk/main/vcl/inc/vcl/
H A Dgdimtf.hxx125 … const Size& rOffset, double fSin, double fCos );
127 … const Size& rOffset, double fSin, double fCos );
129 … const Size& rOffset, double fSin, double fCos );
/trunk/main/svx/source/svdraw/
H A Dsvdotextpathdecomposition.cxx447 const double fCos(cos(fShearValue)); in HandlePair() local
454 aNewTransformB.scale(1.0, fCos); in HandlePair()
464 const double fCos(cos(fShearValue)); in HandlePair() local
472 aNewTransformA.scale(fCos, 1.0); in HandlePair()
/trunk/main/svx/source/sidebar/possize/
H A DSidebarDialControlBmp.cxx58 double fCos = cos( fAngle ); in DrawElements() local
60 const sal_Int32 nDx (fCos * (maRect.GetWidth()-4) / 2); in DrawElements()
/trunk/main/filter/source/graphicfilter/icgm/
H A Dbitmap.cxx185 double fCos = cos(fAngle); in ImplGetBitmap() local
186 nX = fCos * nX + fSin * nY; in ImplGetBitmap()
187 nY = -( fSin * nX - fCos * nY ); in ImplGetBitmap()
/trunk/main/chart2/source/view/main/
H A DShapeFactory.cxx879 const double fCos = cos(fCurrentSegmentAngle/2.0); in getCircularArcBezierCoords() local
881 P0.setX(fCos); in getCircularArcBezierCoords()
882 P3.setX(fCos); in getCircularArcBezierCoords()
886 P1.setX((4.0-fCos)/3.0); in getCircularArcBezierCoords()
888 P1.setY((1.0-fCos)*(fCos-3.0)/(3.0*fSin)); in getCircularArcBezierCoords()
/trunk/main/filter/source/msfilter/
H A Deschesdo.cxx124 double fCos = cos( fVal ); in ImplFlipBoundingBox() local
130 double nXDiff = fCos * nWidthHalf + fSin * (-nHeightHalf); in ImplFlipBoundingBox()
131 double nYDiff = - ( fSin * nWidthHalf - fCos * ( -nHeightHalf ) ); in ImplFlipBoundingBox()
/trunk/main/drawinglayer/source/primitive3d/
H A Dpolygontubeprimitive3d.cxx285 const double fCos(cos(-fAngle)); in getLineJoinSegments() local
313 aNextPointOnXY.getX() * fCos, in getLineJoinSegments()
/trunk/main/sc/source/filter/excel/
H A Dxichart.cxx1197 double fCos = fabs( cos( 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()
/trunk/main/sd/source/filter/eppt/
H A Depptso.cxx1685 double fCos = cos( (double)mnAngle * F_PI18000 ); in ImplFlipBoundingBox() local
1691 double fXDiff = fCos * fWidthHalf + fSin * (-fHeightHalf); in ImplFlipBoundingBox()
1692 double fYDiff = - ( fSin * fWidthHalf - fCos * ( -fHeightHalf ) ); in ImplFlipBoundingBox()

Completed in 245 milliseconds