Home
last modified time | relevance | path

Searched refs:fFactor (Results 1 – 25 of 47) sorted by path

12

/trunk/main/basegfx/source/curve/
H A Db2dcubicbezier.cxx151 double fFactor; in ImpSubDivAngleStart() local
155 fFactor = aLeft.getX() / aBase.getX(); in ImpSubDivAngleStart()
159 fFactor = aLeft.getY() / aBase.getY(); in ImpSubDivAngleStart()
162 if(fFactor >= 0.0 && fFactor <= 1.0) in ImpSubDivAngleStart()
170 double fFactor; in ImpSubDivAngleStart() local
174 fFactor = aRight.getX() / -aBase.getX(); in ImpSubDivAngleStart()
178 fFactor = aRight.getY() / -aBase.getY(); in ImpSubDivAngleStart()
181 if(fFactor >= 0.0 && fFactor <= 1.0) in ImpSubDivAngleStart()
/trunk/main/basegfx/source/point/
H A Db2dhompoint.cxx34 const double fFactor(1.0 / mfW); in implHomogenize() local
35 maTuple.setX(maTuple.getX() * fFactor); in implHomogenize()
36 maTuple.setY(maTuple.getY() * fFactor); in implHomogenize()
H A Db3dhompoint.cxx32 const double fFactor(1.0 / mfW); in implHomogenize() local
33 maTuple.setX(maTuple.getX() * fFactor); in implHomogenize()
34 maTuple.setY(maTuple.getY() * fFactor); in implHomogenize()
35 maTuple.setZ(maTuple.getZ() * fFactor); in implHomogenize()
/trunk/main/basegfx/source/polygon/
H A Db2dpolygontools.cxx2029 const double fFactor(fScaledKappa * ((fEnd - fStart) / fAnglePerSegment)); in createPolygonFromUnitEllipseSegment() local
2032 aSegStart + (B2DPoint(-aSegStart.getY(), aSegStart.getX()) * fFactor), in createPolygonFromUnitEllipseSegment()
2033 aSegEnd - (B2DPoint(-aSegEnd.getY(), aSegEnd.getX()) * fFactor), in createPolygonFromUnitEllipseSegment()
2039 double fFactor(fScaledKappa * ((fSegEndRad - fStart) / fAnglePerSegment)); in createPolygonFromUnitEllipseSegment() local
2043 aSegStart + (B2DPoint(-aSegStart.getY(), aSegStart.getX()) * fFactor), in createPolygonFromUnitEllipseSegment()
2044 aSegEnd - (B2DPoint(-aSegEnd.getY(), aSegEnd.getX()) * fFactor), in createPolygonFromUnitEllipseSegment()
2067 fFactor = fScaledKappa * ((fEnd - fSegStartRad) / fAnglePerSegment); in createPolygonFromUnitEllipseSegment()
2071 aSegStart + (B2DPoint(-aSegStart.getY(), aSegStart.getX()) * fFactor), in createPolygonFromUnitEllipseSegment()
2072 aSegEnd - (B2DPoint(-aSegEnd.getY(), aSegEnd.getX()) * fFactor), in createPolygonFromUnitEllipseSegment()
H A Db2dsvgpolypolygon.cxx544 const double fFactor( in importFromSvgD() local
550 fFactor*fRX*p1_prime.getY()/fRY, in importFromSvgD()
551 -fFactor*fRY*p1_prime.getX()/fRX); in importFromSvgD()
H A Db2dtrapezoid.cxx181 const double fFactor((fGivenY - getStart().getY()) / getDeltaY()); in getCutPointForGivenY() local
182 const double fDeltaXNew(fFactor * getDeltaX()); in getCutPointForGivenY()
/trunk/main/chart2/source/view/charttypes/
H A DSplines.cxx937 double fFactor = 0.0; in CalculateBSplines() local
940 fFactor = ( ux - u[i] ) / ( u[i+p+1-lcl_Degree] - u[i]); in CalculateBSplines()
941 aP[i] = (1 - fFactor)* aP[i-1] + fFactor * aP[i]; in CalculateBSplines()
953 double fFactor = 0.0; in CalculateBSplines() local
956 fFactor = ( ux - u[i] ) / ( u[i+p+1-lcl_Degree] - u[i]); in CalculateBSplines()
957 aP[i] = (1 - fFactor)* aP[i-1] + fFactor * aP[i]; in CalculateBSplines()
/trunk/main/chart2/source/view/main/
H A DShapeFactory.cxx2335 double fFactor = std::min(fFactorWidth,fFactorHeight); in calculateNewSizeRespectingAspectRatio() local
2336 aNewSize.Width=static_cast<sal_Int32>(fFactor*rSourceSizeWithCorrectAspectRatio.Width); in calculateNewSizeRespectingAspectRatio()
2337 aNewSize.Height=static_cast<sal_Int32>(fFactor*rSourceSizeWithCorrectAspectRatio.Height); in calculateNewSizeRespectingAspectRatio()
/trunk/main/cui/source/tabpages/
H A Dtransfrm.cxx109 const double fFactor(1.0 / double(aUIScale)); in lcl_ScaleRect() local
110 rRange = basegfx::B2DRange(rRange.getMinimum() * fFactor, rRange.getMaximum() * fFactor); in lcl_ScaleRect()
/trunk/main/drawinglayer/source/animation/
H A Danimationtiming.cxx132 const double fFactor(fTime / mfDuration); in getStateAtTime() local
134 if(fFactor > 1.0) in getStateAtTime()
140 return mfStart + ((mfStop - mfStart) * fFactor); in getStateAtTime()
/trunk/main/drawinglayer/source/primitive2d/
H A Dcontrolprimitive2d.cxx117 double fFactor(1.0); in createBitmapDecomposition() local
122 fFactor = sqrt(fDiscreteMax / fDiscreteQuadratic); in createBitmapDecomposition()
123 aDiscreteSize *= fFactor; in createBitmapDecomposition()
218 aBitmapSizeLogic /= fFactor; in createBitmapDecomposition()
H A Dtextdecoratedprimitive2d.cxx237 static double fFactor(1.0 / 24.0); in create2DDecomposition() local
238 const double fTextShadowOffset(aDecTrans.getScale().getY() * fFactor); in create2DDecomposition()
/trunk/main/extensions/source/scanner/
H A Dscanwin.cxx440 static const double fFactor = 100.0 / 2.54; in ImplXfer() local
442 pBIH->biXPelsPerMeter = FRound( fFactor * nXRes ); in ImplXfer()
443 pBIH->biYPelsPerMeter = FRound( fFactor * nYRes ); in ImplXfer()
/trunk/main/filter/source/flash/
H A Dswfwriter1.cxx568 const double fFactor = (double) nWidth / aNormSize.Width(); in Impl_writeText() local
572 pDX[ i ] = FRound( pDX[ i ] * fFactor ); in Impl_writeText()
/trunk/main/filter/source/msfilter/
H A Dmsdffimp.cxx3879 double fFactor; in lcl_ApplyCropping() local
3893 fFactor = (double)nCropTop / 65536.0; in lcl_ApplyCropping()
3894 nTop = (sal_uInt32)( ( (double)( aCropSize.Height() + 1 ) * fFactor ) + 0.5 ); in lcl_ApplyCropping()
3898 fFactor = (double)nCropBottom / 65536.0; in lcl_ApplyCropping()
3899 nBottom = (sal_uInt32)( ( (double)( aCropSize.Height() + 1 ) * fFactor ) + 0.5 ); in lcl_ApplyCropping()
3903 fFactor = (double)nCropLeft / 65536.0; in lcl_ApplyCropping()
3904 nLeft = (sal_uInt32)( ( (double)( aCropSize.Width() + 1 ) * fFactor ) + 0.5 ); in lcl_ApplyCropping()
3908 fFactor = (double)nCropRight / 65536.0; in lcl_ApplyCropping()
3909 nRight = (sal_uInt32)( ( (double)( aCropSize.Width() + 1 ) * fFactor ) + 0.5 ); in lcl_ApplyCropping()
/trunk/main/filter/source/svg/
H A Dsvgwriter.cxx901 const double fFactor = (double) nWidth / aNormSize.Width(); in ImplWriteText() local
904 pDX[ i ] = FRound( pDX[ i ] * fFactor ); in ImplWriteText()
/trunk/main/odk/examples/DevelopersGuide/Charts/
H A DCalcHelper.java292 double fFactor = 2.0 * java.lang.Math.PI / (double)(nRowCount - 1); in insertFormulaRange() local
309 fValue = (double)nRow * fFactor; in insertFormulaRange()
/trunk/main/odk/examples/java/Spreadsheet/
H A DEuroAdaption.java135 float fFactor ) { in Convert() argument
233 xCell.setValue( (double) xCell.getValue() / fFactor ); in Convert()
/trunk/main/oox/inc/oox/dump/
H A Ddumperbase.hxx837 inline void setFactor( double fFactor ) { mfFactor = fFactor; } in setFactor() argument
/trunk/main/oox/source/drawingml/
H A Dcolor.cxx424 double fFactor = static_cast< double >( aIt->mnValue ) / MAX_PERCENT; in getColor() local
425 mnC1 = static_cast< sal_Int32 >( mnC1 * fFactor ); in getColor()
426 mnC2 = static_cast< sal_Int32 >( mnC2 * fFactor ); in getColor()
427 mnC3 = static_cast< sal_Int32 >( mnC3 * fFactor ); in getColor()
436 double fFactor = static_cast< double >( aIt->mnValue ) / MAX_PERCENT; in getColor() local
437 … mnC1 = static_cast< sal_Int32 >( MAX_PERCENT - (MAX_PERCENT - mnC1) * fFactor ); in getColor()
438 … mnC2 = static_cast< sal_Int32 >( MAX_PERCENT - (MAX_PERCENT - mnC2) * fFactor ); in getColor()
439 … mnC3 = static_cast< sal_Int32 >( MAX_PERCENT - (MAX_PERCENT - mnC3) * fFactor ); in getColor()
/trunk/main/oox/source/dump/
H A Ddumperbase.cxx1642 double fFactor; in createUnitConverter() local
1643 if( StringHelper::convertStringToDouble( fFactor, aFactor ) && (fFactor != 0.0) ) in createUnitConverter()
1648 xList->setFactor( bRecip ? (1.0 / fFactor) : fFactor ); in createUnitConverter()
/trunk/main/sax/source/tools/
H A Dconverter.cxx630 double fFactor = GetConversionFactor(sUnit, nSourceUnit, nTargetUnit); in convertDouble() local
631 if(fFactor != 1.0) in convertDouble()
632 fNumber *= fFactor; in convertDouble()
664 double fFactor = GetConversionFactor(sUnit, nSourceUnit, nTargetUnit); in convertDouble() local
665 if(fFactor != 1.0 && fFactor != 0.0) in convertDouble()
666 rValue /= fFactor; in convertDouble()
/trunk/main/sc/source/core/tool/
H A Dinterpr3.cxx1247 return fFactor; in GetBinomDistPMF()
1255 return fFactor; in GetBinomDistPMF()
1268 fFactor *= (n-i+1)/i * p/q; in lcl_GetBinomDistRange()
1269 fSum = fFactor; // Summand xs in lcl_GetBinomDistRange()
1273 fFactor *= (n-i+1)/i * p/q; in lcl_GetBinomDistRange()
1359 double fFactor, fSum; in ScBinomDist() local
1430 if (fFactor == 0.0) in ScCritBinom()
1480 PushDouble(fFactor); in ScNegBinomDist()
1935 double fFactor = 1.0; in ScHypGeomDist() local
1943 fFactor *= fEnum / fDenom; in ScHypGeomDist()
[all …]
H A Dinterpr5.cxx1962 double fFactor ; in lcl_CalculateQRdecomposition() local
1978 fFactor = 1.0/fEuclid/(fEuclid + fabs(pMatA->GetDouble(col,col))); in lcl_CalculateQRdecomposition()
1989 - fSum * fFactor * pMatA->GetDouble(col,row), c, row); in lcl_CalculateQRdecomposition()
2001 double fFactor ; in lcl_TCalculateQRdecomposition() local
2017 fFactor = 1.0/fEuclid/(fEuclid + fabs(pMatA->GetDouble(row,row))); in lcl_TCalculateQRdecomposition()
2028 - fSum * fFactor * pMatA->GetDouble(col,row), col, r); in lcl_TCalculateQRdecomposition()
2047 double fFactor = 2.0 * (fNumerator/fDenominator); in lcl_ApplyHouseholderTransformation() local
2050 pMatY->GetDouble(row) - fFactor * pMatA->GetDouble(nC,row), row); in lcl_ApplyHouseholderTransformation()
2060 double fFactor = 2.0 * (fNumerator/fDenominator); in lcl_TApplyHouseholderTransformation() local
2063 pMatY->GetDouble(col) - fFactor * pMatA->GetDouble(col,nR), col); in lcl_TApplyHouseholderTransformation()
H A Dinterpr6.cxx127 double fFactor = exp(fLnFactor); // Do we need more accuracy than exp(ln()) has? in GetLowRegIGamma() local
129 return 1.0 - fFactor * GetGammaContFraction(fA,fX); in GetLowRegIGamma()
131 return fFactor * GetGammaSeries(fA,fX); in GetLowRegIGamma()
140 double fFactor = exp(fLnFactor); //Do I need more accuracy than exp(ln()) has?; in GetUpRegIGamma() local
142 return fFactor * GetGammaContFraction(fA,fX); in GetUpRegIGamma()
144 return 1.0 -fFactor * GetGammaSeries(fA,fX); in GetUpRegIGamma()

Completed in 254 milliseconds

12