/trunk/main/vcl/source/gdi/ |
H A D | outdev3.cxx | 7564 double fFactor = 1.0 / nWidthFactor; in GetTextBoundRect() local 7566 = static_cast< long >(aPixelRect.Left() * fFactor); in GetTextBoundRect() 7568 = static_cast< long >(aPixelRect.Right() * fFactor); in GetTextBoundRect() 7570 = static_cast< long >(aPixelRect.Top() * fFactor); in GetTextBoundRect() 7572 = static_cast< long >(aPixelRect.Bottom() * fFactor); in GetTextBoundRect() 7765 double fFactor = 1.0 / nWidthFactor; in GetTextOutlines() local 7766 aMatrix.scale( fFactor, fFactor ); in GetTextOutlines()
|
H A D | gdimetafiletools.cxx | 158 const double fFactor(fClipArea / fBitmapArea); in handleBitmapContent() local 160 if(basegfx::fTools::more(fFactor, 1.0 - 0.001)) in handleBitmapContent()
|
/trunk/main/sc/source/core/tool/ |
H A D | interpr5.cxx | 1962 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/filter/source/flash/ |
H A D | swfwriter1.cxx | 568 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 D | msdffimp.cxx | 3879 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/sd/source/ui/dlg/ |
H A D | headerfooterdlg.cxx | 871 static double fFactor(1.0); in Paint() local 872 aPattern.push_back(3.0 * fFactor); in Paint() 873 aPattern.push_back(1.0 * fFactor); in Paint()
|
/trunk/main/sd/source/filter/html/ |
H A D | htmlex.cxx | 2833 Size aShift, double fFactor, const String& rHRef ) const in CreateHTMLPolygonArea() argument 2854 aPnt.X() = (long)(aPnt.X() * fFactor); in CreateHTMLPolygonArea() 2855 aPnt.Y() = (long)(aPnt.Y() * fFactor); in CreateHTMLPolygonArea()
|
H A D | htmlex.hxx | 201 …gonArea( const ::basegfx::B2DPolyPolygon& rPolyPoly, Size aShift, double fFactor, const String& rH…
|
/trunk/main/basegfx/source/polygon/ |
H A D | b2dtrapezoid.cxx | 181 const double fFactor((fGivenY - getStart().getY()) / getDeltaY()); in getCutPointForGivenY() local 182 const double fDeltaXNew(fFactor * getDeltaX()); in getCutPointForGivenY()
|
/trunk/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()
|
/trunk/main/svx/source/xoutdev/ |
H A D | xattr.cxx | 719 double fFactor = fLineWidth / 100.0; in CreateDotDashArray() local 726 fSingleDashLen *= fFactor; in CreateDotDashArray() 740 fSingleDotLen *= fFactor; in CreateDotDashArray() 753 fDashDotDistance *= fFactor; in CreateDotDashArray()
|
/trunk/main/xmloff/source/draw/ |
H A D | ximpcustomshape.cxx | 936 double fFactor = SvXMLExportHelper::GetConversionFactor( aUnitStr, MAP_100TH_MM, eSrcUnit ); in StartElement() local 937 if ( ( fFactor != 1.0 ) && ( fFactor != 0.0 ) ) in StartElement() 942 fDepth /= fFactor; in StartElement()
|
/trunk/main/xmloff/source/style/ |
H A D | xmlnumfe.cxx | 618 double fFactor = ::rtl::math::pow10Exp( 1.0, 3 * nTrailingThousands ); in WriteNumberElement_Impl() local 621 SvXMLUnitConverter::convertDouble( aFactStr, fFactor ); in WriteNumberElement_Impl()
|
/trunk/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()
|
/trunk/main/vcl/win/source/gdi/ |
H A D | salgdi3.cxx | 2636 const double fFactor(mfFontScale/256); in GetGlyphOutline() local 2637 rB2DPolyPoly.transform(basegfx::tools::createScaleB2DHomMatrix(fFactor, fFactor)); in GetGlyphOutline()
|
/trunk/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 …]
|
/trunk/main/svx/source/svdraw/ |
H A D | svdotextdecomposition.cxx | 200 const double fFactor(rInfo.mrFont.GetPropr() / 100.0); in impCreateTextPortionPrimitive() local 201 aNewTransform.scale(fFactor, fFactor); in impCreateTextPortionPrimitive()
|
H A D | svdmodel.cxx | 1265 const double fFactor(pow(10.0, static_cast<const int>(nDiff))); in TakeMetricStr() local 1267 fLocalValue /= fFactor; in TakeMetricStr() 1273 const double fFactor(pow(10.0, static_cast<const int>(nDiff))); in TakeMetricStr() local 1275 fLocalValue *= fFactor; in TakeMetricStr()
|
H A D | svdfmtf.cxx | 1644 const double fFactor(1.0 / 255.0); in DoAction() local 1654 … const double fOpOld(1.0 - (pOld->GetPixel(y, x).GetIndex() * fFactor)); in DoAction() 1673 … const double fOpOld(1.0 - (pOld->GetPixel(y, x).GetIndex() * fFactor)); in DoAction() 1674 … const double fOpNew(1.0 - (pNew->GetPixel(y, x).GetIndex() * fFactor)); in DoAction()
|
/trunk/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()
|
/trunk/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()
|
/trunk/main/svtools/source/filter/wmf/ |
H A D | emfwr.cxx | 814 const double fFactor = (double) nWidth / nNormWidth; in ImplWriteTextRecord() local 817 pDX[ i ] = FRound( pDX[ i ] * fFactor ); in ImplWriteTextRecord()
|
/trunk/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 | 838 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/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()
|