Home
last modified time | relevance | path

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

1234

/AOO41X/main/chart2/source/view/main/
H A DShapeFactory.cxx1323 const double& fX = rPos.PositionX; in createPolyPolygon_Symbol() local
1388 *pInnerSequenceX++ = fX-fWidthH; in createPolyPolygon_Symbol()
1391 *pInnerSequenceX++ = fX-fWidthH; in createPolyPolygon_Symbol()
1394 *pInnerSequenceX++ = fX+fWidthH; in createPolyPolygon_Symbol()
1397 *pInnerSequenceX++ = fX+fWidthH; in createPolyPolygon_Symbol()
1400 *pInnerSequenceX++ = fX-fWidthH; in createPolyPolygon_Symbol()
1406 *pInnerSequenceX++ = fX-fWidthH; in createPolyPolygon_Symbol()
1409 *pInnerSequenceX++ = fX+fWidthH; in createPolyPolygon_Symbol()
1412 *pInnerSequenceX++ = fX; in createPolyPolygon_Symbol()
1415 *pInnerSequenceX++ = fX-fWidthH; in createPolyPolygon_Symbol()
[all …]
H A DPlottingPositionHelper.cxx187 double fX, double fY, double fZ, bool bClip ) const in transformLogicToScene() argument
189 this->doLogicScaling( &fX,&fY,&fZ ); in transformLogicToScene()
191 this->clipScaledLogicValues( &fX,&fY,&fZ ); in transformLogicToScene()
193 return this->transformScaledLogicToScene( fX, fY, fZ, false ); in transformLogicToScene()
197 double fX, double fY, double fZ, bool bClip ) const in transformScaledLogicToScene() argument
200 this->clipScaledLogicValues( &fX,&fY,&fZ ); in transformScaledLogicToScene()
202 drawing::Position3D aPos( fX, fY, fZ); in transformScaledLogicToScene()
244 double& fX = xValues[nP]; in transformScaledLogicToScene() local
247 aScenePosition = this->transformScaledLogicToScene( fX,fY,fZ,true ); in transformScaledLogicToScene()
248 fX = aScenePosition.PositionX; in transformScaledLogicToScene()
[all …]
H A DLinear3DTransformation.cxx51 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()
/AOO41X/main/sc/source/core/tool/
H A Dinterpr6.cxx42 double ScInterpreter::GetGammaContFraction( double fA, double fX ) in GetGammaContFraction() argument
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()
99 double ScInterpreter::GetGammaSeries( double fA, double fX ) in GetGammaSeries() argument
109 fSummand = fSummand * fX/fDenomfactor; in GetGammaSeries()
123 double ScInterpreter::GetLowRegIGamma( double fA, double fX ) in GetLowRegIGamma() argument
126 double fLnFactor = fA * log(fX) - fX - GetLogGamma(fA); in GetLowRegIGamma()
128 if (fX>fA+1.0) // includes fX>1.0; 1-GetUpRegIGamma, continued fraction in GetLowRegIGamma()
[all …]
H A Dinterpr2.cxx1248 double fX, fXnew, fTerm, fTermDerivation; in RateIteration() local
1258 fX = fGuess; in RateIteration()
1262 fPowNminus1 = pow( 1.0+fX, fNper-1.0); in RateIteration()
1263 fPowN = fPowNminus1 * (1.0+fX); in RateIteration()
1264 if (rtl::math::approxEqual( fabs(fX), 0.0)) in RateIteration()
1271 fGeoSeries = (fPowN-1.0)/fX; in RateIteration()
1272 fGeoSeriesDerivation = fNper * fPowNminus1 / fX - fGeoSeries / fX; in RateIteration()
1281 fXnew = fX + 1.1 * SCdEpsilon; // move away from zero slope in RateIteration()
1283 fXnew = fX - fTerm / fTermDerivation; in RateIteration()
1286 bFound = (fabs(fXnew - fX) < SCdEpsilon); in RateIteration()
[all …]
H A Dinterpr3.cxx720 double ScInterpreter::GetChiDist(double fX, double fDF) in GetChiDist() argument
723 if (fX <= 0.0) in GetChiDist()
726 return GetUpRegIGamma( fDF/2.0, fX/2.0); in GetChiDist()
733 double ScInterpreter::GetChiSqDistCDF(double fX, double fDF) in GetChiSqDistCDF() argument
736 if (fX <= 0.0) in GetChiSqDistCDF()
739 return GetLowRegIGamma( fDF/2.0, fX/2.0); in GetChiSqDistCDF()
742 double ScInterpreter::GetChiSqDistPDF(double fX, double fDF) in GetChiSqDistPDF() argument
747 if (fX <= 0.0) in GetChiSqDistPDF()
749 if (fDF*fX > 1391000.0) in GetChiSqDistPDF()
752 fValue = exp((0.5*fDF - 1) * log(fX*0.5) - 0.5 * fX - log(2.0) - GetLogGamma(0.5*fDF)); in GetChiSqDistPDF()
[all …]
/AOO41X/main/scaddins/source/analysis/
H A Dbessel.cxx83 double fX = fabs(x); in BesselJ() local
86 double fEstimateIteration = fX * 1.5 + N; in BesselJ()
87 bool bAsymptoticPossible = pow(fX,0.4) > N; in BesselJ()
91 return fSign * sqrt(f_2_DIV_PI/fX)* cos(fX-N*f_PI_DIV_2-f_PI_DIV_4); in BesselJ()
119 g_bar = - 2.0/fX; // k = 1.0, g = 0.0 in BesselJ()
134 g_bar = m_bar - 2.0*k/fX + g; in BesselJ()
143 g_bar = m_bar - 2.0*k/fX + g; in BesselJ()
155 g_bar = m_bar - 2.0*k/fX + g; in BesselJ()
341 double Bessely0( double fX ) throw( IllegalArgumentException, NoConvergenceException ) in Bessely0() argument
343 if (fX <= 0) in Bessely0()
[all …]
/AOO41X/main/sal/rtl/source/
H A Dmath.cxx1220 double SAL_CALL rtl_math_asinh( double fX ) SAL_THROW_EXTERN_C() in rtl_math_asinh() argument
1223 if ( fX == 0.0 ) in rtl_math_asinh()
1227 if ( fX < 0.0 ) in rtl_math_asinh()
1229 fX = - fX; in rtl_math_asinh()
1232 if ( fX < 0.125 ) in rtl_math_asinh()
1233 return fSign * rtl_math_log1p( fX + fX*fX / (1.0 + sqrt( 1.0 + fX*fX))); in rtl_math_asinh()
1234 else if ( fX < 1.25e7 ) in rtl_math_asinh()
1235 return fSign * log( fX + sqrt( 1.0 + fX*fX)); in rtl_math_asinh()
1237 return fSign * log( 2.0*fX); in rtl_math_asinh()
1244 double SAL_CALL rtl_math_acosh( double fX ) SAL_THROW_EXTERN_C() in rtl_math_acosh() argument
[all …]
/AOO41X/main/chart2/source/view/inc/
H A DPlottingPositionHelper.hxx71 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 …]
/AOO41X/main/svgio/source/svgreader/
H A Dsvgsvgnode.cxx335 … double fX( bXIsAbsolute && getX().isSet() ? getX().solveNonPercentage(*this) : 0.0); in decomposeSvgNode() local
360 fX = getX().getNumber() * 0.01 * fWReference; in decomposeSvgNode()
404 const basegfx::B2DRange aTarget(fX, fY, fX + fW, fY + fH); in decomposeSvgNode()
452 if(!basegfx::fTools::equalZero(fX) || !basegfx::fTools::equalZero(fY)) in decomposeSvgNode()
457 basegfx::tools::createTranslateB2DHomMatrix(fX, fY), in decomposeSvgNode()
468 basegfx::B2DRange(fX, fY, fX + fW, fY + fH))), in decomposeSvgNode()
675 … double fX( bXIsAbsolute && getX().isSet() ? getX().solveNonPercentage(*this) : 0.0); in getCurrentViewPort() local
682 return basegfx::B2DRange(fX, fY, fX+fW, fY+fH); in getCurrentViewPort()
695 fX = getX().getNumber() * 0.01 * fWReference; in getCurrentViewPort()
725 return basegfx::B2DRange(fX, fY, fX+fW, fY+fH); in getCurrentViewPort()
H A Dsvgmasknode.cxx229 …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()
248fX + (getWidth().isSet() ? getWidth().solve(*this, xcoordinate) : 0.0), in apply()
/AOO41X/main/vcl/source/glyphs/
H A Dgcach_layout.cxx250 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 ()()
/AOO41X/main/drawinglayer/source/texture/
H A Dtexture3d.cxx256 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()
/AOO41X/main/canvas/source/cairo/
H A Dcairo_spritehelper.cxx110 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()
/AOO41X/main/drawinglayer/source/primitive2d/
H A Dgridprimitive2d.cxx179 … 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()
/AOO41X/main/vcl/source/gdi/
H A Dbmpacc.cxx336 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()
/AOO41X/main/basegfx/source/matrix/
H A Db2dhommatrix.cxx240 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 Db3dhommatrix.cxx244 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()
/AOO41X/main/sc/source/core/inc/
H A Dinterpre.hxx719 double GetBetaDistPDF(double fX, double fA, double fB); //probability density function)
721 double GetChiSqDistCDF(double fX, double fDF); // for CHISQDIST, returns left tail
722 double GetChiSqDistPDF(double fX, double fDF); // probability density function
814 double GetGammaContFraction(double fA,double fX);
815 double GetGammaSeries(double fA,double fX);
816 double GetLowRegIGamma(double fA,double fX); // lower regularized incomplete gamma function, GAM…
817 double GetUpRegIGamma(double fA,double fX); // upper regularized incomplete gamma function, GAM…
819 double GetGammaDistPDF(double fX, double fAlpha, double fLambda);
821 double GetGammaDist(double fX, double fAlpha, double fLambda);
/AOO41X/main/svx/source/customshapes/
H A DEnhancedCustomShapeFontWork.cxx604 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 …]
/AOO41X/main/chart2/source/view/charttypes/
H A DVSeriesPlotter.cxx776 , double fX /*scaled*/, double fY /*unscaled*/, double fZ /*unscaled*/, bool bClip ) in lcl_transformMixedToScene() argument
782 pPosHelper->clipScaledLogicValues( &fX,&fY,&fZ ); in lcl_transformMixedToScene()
783 return pPosHelper->transformScaledLogicToScene( fX, fY, fZ, false ); in lcl_transformMixedToScene()
828 const double fX = aUnscaledLogicPosition.PositionX; in createErrorBar() local
831 double fScaledX = fX; in createErrorBar()
849 double fLocalX = fX; in createErrorBar()
872 double fLocalX = fX; in createErrorBar()
1121 double fX = aRelativePosition.Primary*m_aPageReferenceSize.Width; in createRegressionCurveEquationShapes() local
1123 aScreenPosition2D.X = static_cast< sal_Int32 >( ::rtl::math::round( fX )); in createRegressionCurveEquationShapes()
1502 double fX = (*aSeriesIter)->getXValue( nN ); in getMinimumAndMaximiumX() local
[all …]
/AOO41X/main/basegfx/inc/basegfx/point/
H A Db2dhompoint.hxx107 B2DHomPoint(double fX, double fY) in B2DHomPoint() argument
108 : maTuple(fX, fY), in B2DHomPoint()
187 inline void setX(double fX) in setX() argument
189 maTuple.setX(implIsHomogenized() ? fX : fX * mfW ); in setX()
H A Db3dhompoint.hxx111 B3DHomPoint(double fX, double fY, double fZ) in B3DHomPoint() argument
112 : maTuple(fX, fY, fZ), in B3DHomPoint()
205 void setX(double fX) in setX() argument
207 maTuple.setX(implIsHomogenized() ? fX : fX * mfW ); in setX()
/AOO41X/main/extensions/source/scanner/
H A Dgrid.cxx342 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()
/AOO41X/main/vcl/aqua/source/gdi/
H A Dsalgdi.cxx777 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()
826 CGContextAddLineToPoint( mrContext, fX, fY ); in drawPolygon()
[all …]

1234