Home
last modified time | relevance | path

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

12

/trunk/main/tools/source/generic/
H A Db3dtrans.cxx308 double fFactor; in CalcViewport() local
323 fRight *= fFactor; in CalcViewport()
324 fLeft *= fFactor; in CalcViewport()
330 fTop *= fFactor; in CalcViewport()
342 fTop *= fFactor; in CalcViewport()
349 fRight *= fFactor; in CalcViewport()
350 fLeft *= fFactor; in CalcViewport()
358 fRight *= fFactor; in CalcViewport()
359 fLeft *= fFactor; in CalcViewport()
361 fTop *= fFactor; in CalcViewport()
[all …]
/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 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()
H A Dunitconv.cxx143 double fFactor = 0; in ScUnitConverter() local
150 pProperties[nIndex++] >>= fFactor; in ScUnitConverter()
152 ScUnitConverterData* pNew = new ScUnitConverterData( sFromUnit, sToUnit, fFactor ); in ScUnitConverter()
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()
/trunk/main/svx/source/gallery2/
H A Dgalobj.cxx148 const float fFactor = (float) aBmpSize.Width() / aBmpSize.Height(); in CreateThumb() local
149 const Size aNewSize( Max( (long) (fFactor < 1. ? S_THUMB * fFactor : S_THUMB), 8L ), in CreateThumb()
150 Max( (long) (fFactor < 1. ? S_THUMB : S_THUMB / fFactor), 8L ) ); in CreateThumb()
166 const double fFactor = (double)aPrefSize.Width() / (double)aPrefSize.Height(); in CreateThumb() local
168 if ( fFactor < 1.0 ) in CreateThumb()
169 aSize.Width() = (sal_Int32)( S_THUMB * fFactor ); in CreateThumb()
171 aSize.Height() = (sal_Int32)( S_THUMB / fFactor ); in CreateThumb()
/trunk/main/sd/source/ui/func/
H A Dfumorph.cxx394 double fFactor = fStep; in ImpInsertPolygons() local
399 for ( sal_uLong i = 0; i < nCount; i++, fFactor += fStep ) in ImpInsertPolygons()
407 …olor aLineColor(basegfx::interpolate(aStartLineCol.getBColor(), aEndLineCol.getBColor(), fFactor)); in ImpInsertPolygons()
416 …olor aFillColor(basegfx::interpolate(aStartFillCol.getBColor(), aEndFillCol.getBColor(), fFactor)); in ImpInsertPolygons()
424 aSet.Put( XLineWidthItem( nStartLineWidth + (long) ( fFactor * fDelta + 0.5 ) ) ); in ImpInsertPolygons()
450 const double fFactor = 1.0 - fMorphingFactor; in ImpCreateMorphedPolygon() local
463 aNewPolygon.append(aPtEnd + ((aPtStart - aPtEnd) * fFactor)); in ImpCreateMorphedPolygon()
488 const double fFactor(1.0 / (nSteps + 1)); in ImpMorphPolygons() local
493 fValue += fFactor; in ImpMorphPolygons()
/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 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()
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()
/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/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/svgio/source/svgreader/
H A Dsvgcharacternode.cxx334 const double fFactor(rSvgTextPosition.getTextLength() / fTextWidth); in createSimpleTextPrimitive() local
346 aTextArray[a] *= fFactor; in createSimpleTextPrimitive()
352 fFontWidth *= fFactor; in createSimpleTextPrimitive()
625 const double fFactor(F_PI / 180.0); in SvgTextPosition() local
629 maRotate[a] *= fFactor; in SvgTextPosition()
H A Dsvgtools.cxx838 const double fFactor(1.0 / 255.0); in read_color() local
855 rColor.setRed((nR | (nR << 4)) * fFactor); in read_color()
856 rColor.setGreen((nG | (nG << 4)) * fFactor); in read_color()
857 rColor.setBlue((nB | (nB << 4)) * fFactor); in read_color()
870 rColor.setRed((nR2 | (nR1 << 4)) * fFactor); in read_color()
871 rColor.setGreen((nG2 | (nG1 << 4)) * fFactor); in read_color()
872 rColor.setBlue((nB2 | (nB1 << 4)) * fFactor); in read_color()
918 const double fFac(bIsPercent ? 0.01 : fFactor); in read_color()
/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/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/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/svx/source/engine3d/
H A Dview3d.cxx574 …const double fFactor((aSceneScale.getX() * fSizeFactor) / (basegfx::fTools::equalZero(fObjSize) ? … in ImpCloneAll3DObjectsToDestScene() local
575 fScale *= fFactor; in ImpCloneAll3DObjectsToDestScene()
581 …const double fFactor((aSceneScale.getY() * fSizeFactor) / (basegfx::fTools::equalZero(fObjSize) ? … in ImpCloneAll3DObjectsToDestScene() local
582 fScale *= fFactor; in ImpCloneAll3DObjectsToDestScene()
588 …const double fFactor((aSceneScale.getZ() * fSizeFactor) / (basegfx::fTools::equalZero(fObjSize) ? … in ImpCloneAll3DObjectsToDestScene() local
589 fScale *= fFactor; in ImpCloneAll3DObjectsToDestScene()
/trunk/main/xmloff/source/core/
H A Dxmluconv.cxx730 double fFactor = SvXMLExportHelper::GetConversionFactor(sUnit, eCoreUnit, eDstUnit); in convertDouble() local
731 if(fFactor != 1.0) in convertDouble()
732 fNumber *= fFactor; in convertDouble()
772 const double fFactor = SvXMLExportHelper::GetConversionFactor(sUnit, eCoreUnit, eSrcUnit); in convertDouble() local
773 if(fFactor != 1.0 && fFactor != 0.0) in convertDouble()
774 rValue /= fFactor; in convertDouble()
/trunk/main/svtools/source/config/
H A Doptionsdrawinglayer.cxx1679 const double fFactor(fMaxLum / fLuminance); in getHilightColor() local
1681 aSelection.getRed() * fFactor, in getHilightColor()
1682 aSelection.getGreen() * fFactor, in getHilightColor()
1683 aSelection.getBlue() * fFactor); in getHilightColor()
/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/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()
/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()

Completed in 241 milliseconds

12