/aoo42x/main/chart2/source/view/main/ |
H A D | ShapeFactory.cxx | 1412 *pInnerSequenceX++ = fX; in createPolyPolygon_Symbol() 1424 *pInnerSequenceX++ = fX; in createPolyPolygon_Symbol() 1506 *pInnerSequenceX++ = fX; in createPolyPolygon_Symbol() 1512 *pInnerSequenceX++ = fX; in createPolyPolygon_Symbol() 1571 *pInnerSequenceX++ = fX; in createPolyPolygon_Symbol() 1587 *pInnerSequenceX++ = fX; in createPolyPolygon_Symbol() 1601 *pInnerSequenceX++ = fX; in createPolyPolygon_Symbol() 1613 *pInnerSequenceX++ = fX; in createPolyPolygon_Symbol() 1625 *pInnerSequenceX++ = fX; in createPolyPolygon_Symbol() 1636 *pInnerSequenceX++ = fX; in createPolyPolygon_Symbol() [all …]
|
H A D | PlottingPositionHelper.cxx | 189 this->doLogicScaling( &fX,&fY,&fZ ); in transformLogicToScene() 191 this->clipScaledLogicValues( &fX,&fY,&fZ ); in transformLogicToScene() 202 drawing::Position3D aPos( fX, fY, fZ); in transformScaledLogicToScene() 244 double& fX = xValues[nP]; in transformScaledLogicToScene() local 248 fX = aScenePosition.PositionX; in transformScaledLogicToScene() 510 clipLogicValues( &fX, &fY, &fZ ); in transformToAngleDegree() 511 doLogicScaling( &fX, &fY, &fZ ); in transformToAngleDegree() 535 doLogicScaling( &fX, &fY, 0 ); in transformToRadius() 573 this->clipLogicValues( &fX,&fY,&fZ ); in transformLogicToScene() 599 std::swap(fX,fZ); in transformUnitCircleToScene() [all …]
|
H A D | Linear3DTransformation.cxx | 51 double fX = rSourceValues[0]; in transform() local 55 std::swap(fX,fY); in transform() 59 fZwi = m_Matrix.Line1.Column1 * fX in transform() 65 fZwi = m_Matrix.Line2.Column1 * fX in transform() 71 fZwi = m_Matrix.Line3.Column1 * fX in transform() 77 fZwi = m_Matrix.Line4.Column1 * fX in transform()
|
/aoo42x/main/sc/source/core/tool/ |
H A D | interpr6.cxx | 51 double fDenom = fX + 2.0-fA; in GetGammaContFraction() 53 double fPkm1 = fX + 1.0; in GetGammaContFraction() 56 double fQkm1 = fDenom * fX; in GetGammaContFraction() 57 double fQkm2 = fX; in GetGammaContFraction() 109 fSummand = fSummand * fX/fDenomfactor; in GetGammaSeries() 126 double fLnFactor = fA * log(fX) - fX - GetLogGamma(fA); in GetLowRegIGamma() 139 double fLnFactor= fA*log(fX)-fX-GetLogGamma(fA); in GetUpRegIGamma() 141 if (fX>fA+1.0) // includes fX>1.0 in GetUpRegIGamma() 153 if (fX <= 0.0) in GetGammaDistPDF() 157 double fXr = fX / fLambda; in GetGammaDistPDF() [all …]
|
H A D | interpr2.cxx | 1260 fX = fGuess; in RateIteration() 1274 fGeoSeriesDerivation = fNper * fPowNminus1 / fX - fGeoSeries / fX; in RateIteration() 1289 fX = fXnew; in RateIteration() 1309 fGeoSeries = (pow( 1.0+fX, fNper) - 1.0) / fX; in RateIteration() 1310 fGeoSeriesDerivation = fNper * pow( 1.0+fX, fNper-1.0) / fX - fGeoSeries / fX; in RateIteration() 1325 fX = fXnew; in RateIteration() 1722 fX += fDiff; in ScBackSolver() 1729 fBestX = fX; in ScBackSolver() 1736 fBestX = fX; in ScBackSolver() 1749 fXPrev = fX; in ScBackSolver() [all …]
|
H A D | interpr3.cxx | 723 if (fX <= 0.0) in GetChiDist() 736 if (fX <= 0.0) in GetChiSqDistCDF() 747 if (fX <= 0.0) in GetChiSqDistPDF() 785 double fX; in ScChiSqDist() local 926 if (fX <= 0.0) in GetBetaDistPDF() 936 if (fX >= 1.0) in GetBetaDistPDF() 950 double fLogY = (fX < 0.1) ? ::boost::math::log1p(-fX) : log(0.5-fX+0.5); in GetBetaDistPDF() 960 return pow(fX,fA-1.0) * pow(0.5-fX+0.5,fB-1.0) / GetBeta(fA,fB); in GetBetaDistPDF() 1038 double fX = fXin; in GetBetaDist() local 1047 fX = fY; in GetBetaDist() [all …]
|
/aoo42x/main/scaddins/source/analysis/ |
H A D | bessel.cxx | 83 double fX = fabs(x); in BesselJ() local 91 return fSign * sqrt(f_2_DIV_PI/fX)* cos(fX-N*f_PI_DIV_2-f_PI_DIV_4); in BesselJ() 343 if (fX <= 0) in Bessely0() 347 return sqrt(1/f_PI/fX) in Bessely0() 348 *(rtl::math::sin(fX)-rtl::math::cos(fX)); in Bessely0() 357 double g_bar = -2.0 / fX; in Bessely0() 397 if (fX <= 0) in Bessely1() 401 return - sqrt(1/f_PI/fX) in Bessely1() 402 *(rtl::math::sin(fX)+rtl::math::cos(fX)); in Bessely1() 405 double alpha = 1.0/fX; in Bessely1() [all …]
|
/aoo42x/main/sal/rtl/source/ |
H A D | math.cxx | 1236 if ( fX == 0.0 ) in rtl_math_asinh() 1240 if ( fX < 0.0 ) in rtl_math_asinh() 1242 fX = - fX; in rtl_math_asinh() 1245 if ( fX < 0.125 ) in rtl_math_asinh() 1246 return fSign * rtl_math_log1p( fX + fX*fX / (1.0 + sqrt( 1.0 + fX*fX))); in rtl_math_asinh() 1248 return fSign * log( fX + sqrt( 1.0 + fX*fX)); in rtl_math_asinh() 1260 if ( fX < 1.0 ) in rtl_math_acosh() 1266 else if ( fX == 1.0 ) in rtl_math_acosh() 1268 else if ( fX < 1.1 ) in rtl_math_acosh() 1270 else if ( fX < 1.25e7 ) in rtl_math_acosh() [all …]
|
/aoo42x/main/chart2/source/view/inc/ |
H A D | PlottingPositionHelper.hxx | 71 inline bool isSameForGivenResolution( double fX, double fY, double fZ 75 inline bool isLogicVisible( double fX, double fY, double fZ ) const; 88 transformLogicToScene( double fX, double fY, double fZ, bool bClip ) const; 91 transformScaledLogicToScene( double fX, double fY, double fZ, bool bClip ) const; 189 transformLogicToScene( double fX, double fY, double fZ, bool bClip ) const; 191 transformScaledLogicToScene( double fX, double fY, double fZ, bool bClip ) const; 263 bool PlottingPositionHelper::isSameForGivenResolution( double fX, double fY, double fZ in isSameForGivenResolution() argument 266 if( !::rtl::math::isFinite(fX) || !::rtl::math::isFinite(fY) || !::rtl::math::isFinite(fZ) in isSameForGivenResolution() 280 …bool bSameX = ( static_cast<sal_Int32>(m_nXResolution*(fX - fScaledMinX)/(fScaledMaxX-fScaledMinX)) in isSameForGivenResolution() 304 double fX, double fY, double fZ ) const in isLogicVisible() argument [all …]
|
/aoo42x/main/svgio/source/svgreader/ |
H A D | svgsvgnode.cxx | 350 … double fX( bXIsAbsolute && getX().isSet() ? getX().solveNonPercentage(*this) : 0.0); in decomposeSvgNode() local 375 fX = getX().getNumber() * 0.01 * fWReference; in decomposeSvgNode() 419 const basegfx::B2DRange aTarget(fX, fY, fX + fW, fY + fH); in decomposeSvgNode() 467 if(!basegfx::fTools::equalZero(fX) || !basegfx::fTools::equalZero(fY)) in decomposeSvgNode() 472 basegfx::tools::createTranslateB2DHomMatrix(fX, fY), in decomposeSvgNode() 483 basegfx::B2DRange(fX, fY, fX + fW, fY + fH))), in decomposeSvgNode() 690 … double fX( bXIsAbsolute && getX().isSet() ? getX().solveNonPercentage(*this) : 0.0); in getCurrentViewPort() local 697 return basegfx::B2DRange(fX, fY, fX+fW, fY+fH); in getCurrentViewPort() 710 fX = getX().getNumber() * 0.01 * fWReference; in getCurrentViewPort() 740 return basegfx::B2DRange(fX, fY, fX+fW, fY+fH); in getCurrentViewPort()
|
H A D | svgmasknode.cxx | 229 …const double fX(Unit_percent == getX().getUnit() ? getX().getNumber() * 0.01 : getX().getNumber()); in apply() local 235 aContentRange.getMinX() + (fX * fContentWidth), in apply() 237 aContentRange.getMinX() + ((fX + fW) * fContentWidth), in apply() 242 … const double fX(getX().isSet() ? getX().solve(*this, xcoordinate) : 0.0); in apply() local 246 fX, in apply() 248 … fX + (getWidth().isSet() ? getWidth().solve(*this, xcoordinate) : 0.0), in apply()
|
/aoo42x/main/vcl/source/glyphs/ |
H A D | gcach_layout.cxx | 250 float fX = r.mnWidth ? r.mnWidth : r.mnHeight; in getXPixelsPerEm() local 251 return fX; in getXPixelsPerEm() 320 advance.fX = 0; in getGlyphAdvance() 325 advance.fX = rGM.GetCharWidth(); in getGlyphAdvance() 406 struct IcuPosition{ float fX, fY; }; in operator ()() member 467 mpIcuLE->getGlyphPositions( &pGlyphPositions->fX, rcIcu ); in operator ()() 540 aNewPos = Point( (int)(pPos->fX+0.5), (int)(pPos->fY+0.5) ); in operator ()() 559 nNewWidth = static_cast<int>(pNextPos->fX - pPos->fX); in operator ()() 572 nNewWidth = static_cast<int>(pNextPos->fX - pPos->fX); in operator ()() 637 aNewPos = Point( (int)(pPos->fX+0.5), (int)(pPos->fY+0.5) ); in operator ()()
|
/aoo42x/main/drawinglayer/source/texture/ |
H A D | texture3d.cxx | 256 double fX(rUV.getX() - maTopLeft.getX()); in impGetCorrected() local 265 fX += mfOffsetX * maSize.getX(); in impGetCorrected() 270 …const sal_Int32 nRow(static_cast< sal_Int32 >((fX < 0.0 ? maSize.getX() -fX : fX) / maSize.getX())… in impGetCorrected() 278 fX = fmod(fX, maSize.getX()); in impGetCorrected() 281 if(fX < 0.0) in impGetCorrected() 283 fX += maSize.getX(); in impGetCorrected() 291 return basegfx::B2DPoint(fX + maTopLeft.getX(), fY + maTopLeft.getY()); in impGetCorrected()
|
/aoo42x/main/canvas/source/cairo/ |
H A D | cairo_spritehelper.cxx | 110 double fX, fY; in redraw() local 112 fX = rPos.getX(); in redraw() 126 cairo_matrix_transform_distance( &aInverseMatrix, &fX, &fY ); in redraw() 131 fX = basegfx::fround( fX ); in redraw() 136 cairo_translate( pCairo.get(), fX, fY ); in redraw() 151 OSL_TRACE ("aSize %f x %f position: %f,%f", aSize.getX(), aSize.getY(), fX, fY ); in redraw() 160 fX, fY ); in redraw()
|
/aoo42x/main/drawinglayer/source/primitive2d/ |
H A D | gridprimitive2d.cxx | 179 for(double fX(aExtendedViewport.getMinX()); fX < aExtendedViewport.getMaxX(); fX += fStepX) in create2DDecomposition() local 181 const bool bXZero(basegfx::fTools::equalZero(fX)); in create2DDecomposition() 192 const basegfx::B2DPoint aViewPos(aRST * basegfx::B2DPoint(fX, fY)); in create2DDecomposition() 206 double fF(fX + fSmallStepX); in create2DDecomposition() 226 const basegfx::B2DPoint aViewPos(aRST * basegfx::B2DPoint(fX, fF)); in create2DDecomposition()
|
/aoo42x/main/vcl/source/gdi/ |
H A D | bmpacc.cxx | 336 BitmapColor BitmapReadAccess::GetInterpolatedColorWithFallback( double fY, double fX, const BitmapC… in GetInterpolatedColorWithFallback() argument 340 if(mpBuffer && fX >= 0.0 && fY >= 0.0) in GetInterpolatedColorWithFallback() 342 const sal_Int32 nX(static_cast< sal_Int32 >(fX)); in GetInterpolatedColorWithFallback() 351 sal_Int16 nDeltaX((fX - (nX + 0.5)) * 255.0); // [-255 .. 255] in GetInterpolatedColorWithFallback() 425 BitmapColor BitmapReadAccess::GetColorWithFallback( double fY, double fX, const BitmapColor& rFallb… in GetColorWithFallback() argument 429 if(mpBuffer && fX >= 0.0 && fY >= 0.0) in GetColorWithFallback() 431 const sal_Int32 nX(static_cast< sal_Int32 >(fX)); in GetColorWithFallback()
|
/aoo42x/main/basegfx/source/matrix/ |
H A D | b2dhommatrix.cxx | 240 void B2DHomMatrix::translate(double fX, double fY) in translate() argument 242 if(!fTools::equalZero(fX) || !fTools::equalZero(fY)) in translate() 246 aTransMat.set(0, 2, fX); in translate() 253 void B2DHomMatrix::scale(double fX, double fY) in scale() argument 257 if(!fTools::equal(fOne, fX) || !fTools::equal(fOne, fY)) in scale() 261 aScaleMat.set(0, 0, fX); in scale()
|
H A D | b3dhommatrix.cxx | 244 void B3DHomMatrix::translate(double fX, double fY, double fZ) in translate() argument 246 if(!fTools::equalZero(fX) || !fTools::equalZero(fY) || !fTools::equalZero(fZ)) in translate() 250 aTransMat.set(0, 3, fX); in translate() 258 void B3DHomMatrix::scale(double fX, double fY, double fZ) in scale() argument 262 if(!fTools::equal(fOne, fX) || !fTools::equal(fOne, fY) ||!fTools::equal(fOne, fZ)) in scale() 266 aScaleMat.set(0, 0, fX); in scale()
|
/aoo42x/main/sc/source/core/inc/ |
H A D | interpre.hxx | 741 double GetBetaDistPDF(double fX, double fA, double fB); //probability density function) 743 double GetChiSqDistCDF(double fX, double fDF); // for CHISQDIST, returns left tail 744 double GetChiSqDistPDF(double fX, double fDF); // probability density function 836 double GetGammaContFraction(double fA,double fX); 837 double GetGammaSeries(double fA,double fX); 838 double GetLowRegIGamma(double fA,double fX); // lower regularized incomplete gamma function, GAM… 839 double GetUpRegIGamma(double fA,double fX); // upper regularized incomplete gamma function, GAM… 841 double GetGammaDistPDF(double fX, double fAlpha, double fLambda); 843 double GetGammaDist(double fX, double fAlpha, double fLambda);
|
/aoo42x/main/chart2/source/view/charttypes/ |
H A D | VSeriesPlotter.cxx | 782 pPosHelper->clipScaledLogicValues( &fX,&fY,&fZ ); in lcl_transformMixedToScene() 831 double fScaledX = fX; in createErrorBar() 849 double fLocalX = fX; in createErrorBar() 872 double fLocalX = fX; in createErrorBar() 1503 if( ::rtl::math::isNan(fX) ) in getMinimumAndMaximiumX() 1505 if(rfMaximum<fX) in getMinimumAndMaximiumX() 1506 rfMaximum=fX; in getMinimumAndMaximiumX() 1507 if(rfMinimum>fX) in getMinimumAndMaximiumX() 1508 rfMinimum=fX; in getMinimumAndMaximiumX() 1535 if( ::rtl::math::isNan(fX) ) in getMinimumAndMaximiumYInContinuousXRange() [all …]
|
/aoo42x/main/svx/source/customshapes/ |
H A D | EnhancedCustomShapeFontWork.cxx | 604 sal_Int32 fX = rPoint.X() - rPt0.X(); in InsertMissingOutlinePoints() local 607 … rPoly.Insert( i, Point( (sal_Int32)( rPt0.X() + fX * fd ), (sal_Int32)( rPt0.Y() + fY * fd ) ) ); in InsertMissingOutlinePoints() 619 sal_Int32 fX = rPoint.X() - rPt0.X(); in InsertMissingOutlinePoints() local 622 … rPoly.Insert( i, Point( (sal_Int32)( rPt0.X() + fX * fd ), (sal_Int32)( rPt0.Y() + fY * fd ) ) ); in InsertMissingOutlinePoints() 632 void GetPoint( const Polygon& rPoly, const std::vector< double >& rDistances, const double& fX, dou… in GetPoint() argument 637 …tor< double >::const_iterator aIter = std::lower_bound( rDistances.begin(), rDistances.end(), fX ); in GetPoint() 644 if ( nIdx && ( aIter != rDistances.end() ) && ( *aIter != fX ) ) in GetPoint() 648 double fd = ( 1.0 / ( *aIter - fDist0 ) ) * ( fX - fDist0 ); in GetPoint() 785 double fX = (double)rPoint.X() / (double)nWidth; in FitTextOutlinesToShapeOutlines() local 789 GetPoint( rOutlinePoly, vDistances, fX, fx1, fy1 ); in FitTextOutlinesToShapeOutlines() [all …]
|
/aoo42x/main/basegfx/inc/basegfx/point/ |
H A D | b2dhompoint.hxx | 108 B2DHomPoint(double fX, double fY) in B2DHomPoint() argument 109 : maTuple(fX, fY), in B2DHomPoint() 188 inline void setX(double fX) in setX() argument 190 maTuple.setX(implIsHomogenized() ? fX : fX * mfW ); in setX()
|
H A D | b3dhompoint.hxx | 112 B3DHomPoint(double fX, double fY, double fZ) in B3DHomPoint() argument 113 : maTuple(fX, fY, fZ), in B3DHomPoint() 206 void setX(double fX) in setX() argument 208 maTuple.setX(implIsHomogenized() ? fX : fX * mfW ); in setX()
|
/aoo42x/main/extensions/source/scanner/ |
H A D | grid.cxx | 342 for( double fX = m_fMinChunkX; fX < m_fMaxX; fX += m_fChunkX ) in drawGrid() local 344 drawLine( fX, m_fMinY, fX, m_fMaxY ); in drawGrid() 346 Point aPt = transform( fX, m_fMinY ); in drawGrid() 347 std::sprintf( pBuf, "%g", fX ); in drawGrid()
|
/aoo42x/main/vcl/aqua/source/gdi/ |
H A D | salgdi.cxx | 777 float fX, fY; in drawPolyLine() local 780 alignLinePoint( pPtAry, fX, fY ); in drawPolyLine() 781 CGContextMoveToPoint( mrContext, fX, fY ); in drawPolyLine() 785 alignLinePoint( pPtAry, fX, fY ); in drawPolyLine() 786 CGContextAddLineToPoint( mrContext, fX, fY ); in drawPolyLine() 819 float fX, fY; in drawPolygon() local 820 alignLinePoint( pPtAry, fX, fY ); in drawPolygon() 821 CGContextMoveToPoint( mrContext, fX, fY ); in drawPolygon() 825 alignLinePoint( pPtAry, fX, fY ); in drawPolygon() 894 float fX, fY; in drawPolyPolygon() local [all …]
|