/aoo4110/main/tools/source/generic/ |
H A D | b3dtrans.cxx | 308 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 …]
|
/aoo4110/main/sc/source/core/tool/ |
H A D | interpr3.cxx | 1247 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 D | interpr6.cxx | 127 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 D | unitconv.cxx | 143 double fFactor = 0; in ScUnitConverter() local 150 pProperties[nIndex++] >>= fFactor; in ScUnitConverter() 152 ScUnitConverterData* pNew = new ScUnitConverterData( sFromUnit, sToUnit, fFactor ); in ScUnitConverter()
|
H A D | interpr5.cxx | 1963 double fFactor ; in lcl_CalculateQRdecomposition() local 1979 fFactor = 1.0/fEuclid/(fEuclid + fabs(pMatA->GetDouble(col,col))); in lcl_CalculateQRdecomposition() 1990 - fSum * fFactor * pMatA->GetDouble(col,row), c, row); in lcl_CalculateQRdecomposition() 2002 double fFactor ; in lcl_TCalculateQRdecomposition() local 2018 fFactor = 1.0/fEuclid/(fEuclid + fabs(pMatA->GetDouble(row,row))); in lcl_TCalculateQRdecomposition() 2029 - fSum * fFactor * pMatA->GetDouble(col,row), col, r); in lcl_TCalculateQRdecomposition() 2048 double fFactor = 2.0 * (fNumerator/fDenominator); in lcl_ApplyHouseholderTransformation() local 2051 pMatY->GetDouble(row) - fFactor * pMatA->GetDouble(nC,row), row); in lcl_ApplyHouseholderTransformation() 2061 double fFactor = 2.0 * (fNumerator/fDenominator); in lcl_TApplyHouseholderTransformation() local 2064 pMatY->GetDouble(col) - fFactor * pMatA->GetDouble(col,nR), col); in lcl_TApplyHouseholderTransformation()
|
/aoo4110/main/svx/source/gallery2/ |
H A D | galobj.cxx | 148 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()
|
/aoo4110/main/sd/source/ui/func/ |
H A D | fumorph.cxx | 394 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()
|
/aoo4110/main/basegfx/source/curve/ |
H A D | b2dcubicbezier.cxx | 151 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()
|
/aoo4110/main/basegfx/source/point/ |
H A D | b3dhompoint.cxx | 32 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 D | b2dhompoint.cxx | 34 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()
|
/aoo4110/main/oox/source/drawingml/ |
H A D | color.cxx | 424 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()
|
/aoo4110/main/chart2/source/view/charttypes/ |
H A D | Splines.cxx | 937 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()
|
/aoo4110/main/drawinglayer/source/primitive2d/ |
H A D | controlprimitive2d.cxx | 117 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 D | textdecoratedprimitive2d.cxx | 237 static double fFactor(1.0 / 24.0); in create2DDecomposition() local 238 const double fTextShadowOffset(aDecTrans.getScale().getY() * fFactor); in create2DDecomposition()
|
/aoo4110/main/svgio/source/svgreader/ |
H A D | svgcharacternode.cxx | 334 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 D | svgtools.cxx | 826 const double fFactor(1.0 / 255.0); in read_color() local 843 rColor.setRed((nR | (nR << 4)) * fFactor); in read_color() 844 rColor.setGreen((nG | (nG << 4)) * fFactor); in read_color() 845 rColor.setBlue((nB | (nB << 4)) * fFactor); in read_color() 858 rColor.setRed((nR2 | (nR1 << 4)) * fFactor); in read_color() 859 rColor.setGreen((nG2 | (nG1 << 4)) * fFactor); in read_color() 860 rColor.setBlue((nB2 | (nB1 << 4)) * fFactor); in read_color() 906 const double fFac(bIsPercent ? 0.01 : fFactor); in read_color()
|
/aoo4110/main/drawinglayer/source/animation/ |
H A D | animationtiming.cxx | 132 const double fFactor(fTime / mfDuration); in getStateAtTime() local 134 if(fFactor > 1.0) in getStateAtTime() 140 return mfStart + ((mfStop - mfStart) * fFactor); in getStateAtTime()
|
/aoo4110/main/sax/source/tools/ |
H A D | converter.cxx | 630 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()
|
/aoo4110/main/svx/source/engine3d/ |
H A D | view3d.cxx | 574 …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()
|
/aoo4110/main/xmloff/source/core/ |
H A D | xmluconv.cxx | 730 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()
|
/aoo4110/main/svtools/source/config/ |
H A D | optionsdrawinglayer.cxx | 1679 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()
|
/aoo4110/main/extensions/source/scanner/ |
H A D | scanwin.cxx | 440 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()
|
/aoo4110/main/odk/examples/DevelopersGuide/Charts/ |
H A D | CalcHelper.java | 292 double fFactor = 2.0 * java.lang.Math.PI / (double)(nRowCount - 1); in insertFormulaRange() local 309 fValue = (double)nRow * fFactor; in insertFormulaRange()
|
/aoo4110/main/odk/examples/java/Spreadsheet/ |
H A D | EuroAdaption.java | 135 float fFactor ) { in Convert() argument 233 xCell.setValue( (double) xCell.getValue() / fFactor ); in Convert()
|
/aoo4110/main/basegfx/source/polygon/ |
H A D | b2dpolygontools.cxx | 2029 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()
|