/trunk/main/drawinglayer/source/primitive2d/ |
H A D | graphicprimitivehelper2d.cxx | 315 basegfx::fround(aRange.getMinX()), basegfx::fround(aRange.getMinY()), in create2DDecompositionOfGraphic() 316 basegfx::fround(aRange.getMaxX()), basegfx::fround(aRange.getMaxY())); in create2DDecompositionOfGraphic() 667 aRectangle.Left() + basegfx::fround(fHor * 0.2), in create2DDecompositionOfGraphic() 668 aRectangle.Top() + basegfx::fround(fVer * 0.3)); in create2DDecompositionOfGraphic() 670 aRectangle.Left() + basegfx::fround(fHor * 0.2), in create2DDecompositionOfGraphic() 671 aRectangle.Top() + basegfx::fround(fVer * 0.5)); in create2DDecompositionOfGraphic() 673 aRectangle.Left() + basegfx::fround(fHor * 0.2), in create2DDecompositionOfGraphic() 674 aRectangle.Top() + basegfx::fround(fVer * 0.7)); in create2DDecompositionOfGraphic() 704 aRectangle.Top() + basegfx::fround(fVer * 0.3)); in create2DDecompositionOfGraphic() 707 aRectangle.Top() + basegfx::fround(fVer * 0.5)); in create2DDecompositionOfGraphic() [all …]
|
/trunk/main/canvas/source/vcl/ |
H A D | canvashelper_texturefill.cxx | 193 aTempPoly[1] = ::Point( ::basegfx::fround( rPoint1.getX() ), in fillLinearGradient() 194 ::basegfx::fround( rPoint1.getY() ) ); in fillLinearGradient() 197 aTempPoly[2] = ::Point( ::basegfx::fround( rPoint2.getX() ), in fillLinearGradient() 198 ::basegfx::fround( rPoint2.getY() ) ); in fillLinearGradient() 240 aTempPoly[1] = ::Point( ::basegfx::fround( rPoint3.getX() ), in fillLinearGradient() 241 ::basegfx::fround( rPoint3.getY() ) ); in fillLinearGradient() 246 aTempPoly[2] = ::Point( ::basegfx::fround( rPoint4.getX() ), in fillLinearGradient() 247 ::basegfx::fround( rPoint4.getY() ) ); in fillLinearGradient() 265 aTempPoly[0] = aTempPoly[4] = ::Point( ::basegfx::fround( rPoint3.getX() ), in fillLinearGradient() 269 aTempPoly[3] = ::Point( ::basegfx::fround( rPoint4.getX() ), in fillLinearGradient() [all …]
|
H A D | impltools.cxx | 157 io_rVCLFont.SetHeight( ::basegfx::fround(nFontHeight * aScale.getY()) ); in setupFontTransform() 163 o_rPoint.X() = ::basegfx::fround(aTranslate.getX()); in setupFontTransform() 164 o_rPoint.Y() = ::basegfx::fround(aTranslate.getY()); in setupFontTransform() 317 const Size aDestBmpSize( ::basegfx::fround( aDestRect.getWidth() ), in transformBitmap() 318 ::basegfx::fround( aDestRect.getHeight() ) ); in transformBitmap() 370 const int nSrcX( ::basegfx::fround( aPoint.getX() ) ); in transformBitmap() 371 const int nSrcY( ::basegfx::fround( aPoint.getY() ) ); in transformBitmap() 416 const int nSrcX( ::basegfx::fround( aPoint.getX() ) ); in transformBitmap() 417 const int nSrcY( ::basegfx::fround( aPoint.getY() ) ); in transformBitmap() 473 const int nSrcX( ::basegfx::fround( aPoint.getX() ) ); in transformBitmap() [all …]
|
H A D | spritehelper.cxx | 217 aOutPos.X() = ::basegfx::fround( aDestRect.getMinX() ); in redraw() 218 aOutPos.Y() = ::basegfx::fround( aDestRect.getMinY() ); in redraw() 236 ::basegfx::fround( rOrigOutputSize.getX() * aTransform.get(0,0) ) ); in redraw() 238 ::basegfx::fround( rOrigOutputSize.getY() * aTransform.get(1,1) ) ); in redraw() 240 aOutPos.X() = ::basegfx::fround( aTransform.get(0,2) ); in redraw() 241 aOutPos.Y() = ::basegfx::fround( aTransform.get(1,2) ); in redraw() 368 … sal_uInt8 nColor( static_cast<sal_uInt8>( ::basegfx::fround( 255.0*(1.0 - fAlpha) + .5) ) ); in redraw()
|
/trunk/main/drawinglayer/source/processor2d/ |
H A D | vclprocessor2d.cxx | 87 sal_uInt32 nSteps(basegfx::fround(rColorA.getDistance(rColorB) * 255.0)); in calculateStepsForSvgGradient() 92 const sal_uInt32 nDistSteps(basegfx::fround(fDelta / fDiscreteUnit)); in calculateStepsForSvgGradient() 258 aTransformedDXArray.push_back(basegfx::fround((*aStart) * fPixelVectorFactor)); in RenderTextSimpleOrDecoratedPortionPrimitive2D() 265 const Point aStartPoint(basegfx::fround(aPoint.getX()), basegfx::fround(aPoint.getY())); in RenderTextSimpleOrDecoratedPortionPrimitive2D() 461 const sal_Int32 nOWidth(basegfx::fround(aObjectRange.getWidth())); in RenderFillGraphicPrimitive2D() 462 const sal_Int32 nOHeight(basegfx::fround(aObjectRange.getHeight())); in RenderFillGraphicPrimitive2D() 527 sal_Int32 nBLeft(basegfx::fround(aGraphicRange.getMinX())); in RenderFillGraphicPrimitive2D() 528 sal_Int32 nBTop(basegfx::fround(aGraphicRange.getMinY())); in RenderFillGraphicPrimitive2D() 530 const sal_Int32 nOTop(basegfx::fround(aObjectRange.getMinY())); in RenderFillGraphicPrimitive2D() 991 …const Point aDiscretePoint(basegfx::fround(aDiscreteTopLeft.getX()), basegfx::fround(aDiscreteTopL… in RenderMarkerArrayPrimitive2D() [all …]
|
H A D | helperwrongspellrenderer.cxx | 49 const sal_uInt32 nFontPixelHeight(basegfx::fround(aFontVectorPixel.getLength())); in renderWrongSpellPrimitive2D() 59 const Point aVclStart(basegfx::fround(aStart.getX()), basegfx::fround(aStart.getY())); in renderWrongSpellPrimitive2D() 60 const Point aVclStop(basegfx::fround(aStop.getX()), basegfx::fround(aStop.getY())); in renderWrongSpellPrimitive2D()
|
H A D | vclmetafileprocessor2d.cxx | 244 basegfx::fround(aPrimitiveRange.getMinX()), basegfx::fround(aPrimitiveRange.getMinY()), in impDumpToMetaFile() 245 basegfx::fround(aPrimitiveRange.getMaxX()), basegfx::fround(aPrimitiveRange.getMaxY())); in impDumpToMetaFile() 952 …xControlView->draw(basegfx::fround(aTopLeftDiscrete.getX()), basegfx::fround(aTopLeftDiscrete.getY… in processBasePrimitive2D() 1261 LineInfo aLineInfo(LINE_SOLID, basegfx::fround(fDiscreteLineWidth)); in processBasePrimitive2D() 1554 basegfx::fround(rFillHatchAttribute.getDistance()), in processBasePrimitive2D() 1555 basegfx::fround(rFillHatchAttribute.getAngle() / F_PI1800))); in processBasePrimitive2D() 1891 …const sal_uInt16 nTransPercentVcl((sal_uInt16)basegfx::fround(rUniTransparenceCandidate.getTranspa… in processBasePrimitive2D() 1930 …const sal_uInt8 nTransPercentVcl((sal_uInt8)basegfx::fround(rUniTransparenceCandidate.getTranspare… in processBasePrimitive2D() 2027 … aSizePixel = Size(basegfx::fround((double)aSizePixel.getWidth() * fReduceFactor), in processBasePrimitive2D() 2028 … basegfx::fround((double)aSizePixel.getHeight() * fReduceFactor)); in processBasePrimitive2D()
|
/trunk/main/basegfx/inc/basegfx/tuple/ |
H A D | b3ituple.hxx | 275 basegfx::fround(((rOld2.getX() - rOld1.getX()) * t) + rOld1.getX()), in interpolate() 276 basegfx::fround(((rOld2.getY() - rOld1.getY()) * t) + rOld1.getY()), in interpolate() 277 basegfx::fround(((rOld2.getZ() - rOld1.getZ()) * t) + rOld1.getZ())); in interpolate() 284 …rOld1.getX() == rOld2.getX() ? rOld1.getX() : basegfx::fround((rOld1.getX() + rOld2.getX()) * 0.5), in average() 285 …rOld1.getY() == rOld2.getY() ? rOld1.getY() : basegfx::fround((rOld1.getY() + rOld2.getY()) * 0.5), in average() 286 …rOld1.getZ() == rOld2.getZ() ? rOld1.getZ() : basegfx::fround((rOld1.getZ() + rOld2.getZ()) * 0.5)… in average() 292 … rOld2.getX() && rOld2.getX() == rOld3.getX()) ? rOld1.getX() : basegfx::fround((rOld1.getX() + rO… in average() 293 … rOld2.getY() && rOld2.getY() == rOld3.getY()) ? rOld1.getX() : basegfx::fround((rOld1.getY() + rO… in average() 294 … rOld2.getZ() && rOld2.getZ() == rOld3.getZ()) ? rOld1.getX() : basegfx::fround((rOld1.getZ() + rO… in average()
|
H A D | b2ituple.hxx | 246 basegfx::fround(((rOld2.getX() - rOld1.getX()) * t) + rOld1.getX()), in interpolate() 247 basegfx::fround(((rOld2.getY() - rOld1.getY()) * t) + rOld1.getY())); in interpolate() 254 …rOld1.getX() == rOld2.getX() ? rOld1.getX() : basegfx::fround((rOld1.getX() + rOld2.getX()) * 0.5), in average() 255 …rOld1.getY() == rOld2.getY() ? rOld1.getY() : basegfx::fround((rOld1.getY() + rOld2.getY()) * 0.5)… in average() 261 … rOld2.getX() && rOld2.getX() == rOld3.getX()) ? rOld1.getX() : basegfx::fround((rOld1.getX() + rO… in average() 262 … rOld2.getY() && rOld2.getY() == rOld3.getY()) ? rOld1.getY() : basegfx::fround((rOld1.getY() + rO… in average()
|
/trunk/main/basegfx/source/range/ |
H A D | b3drange.cxx | 67 B3IRange fround(const B3DRange& rRange ) in fround() function 71 B3IRange(fround(rRange.getMinX()), in fround() 72 fround(rRange.getMinY()), in fround() 73 fround(rRange.getMinZ()), in fround() 74 fround(rRange.getMaxX()), in fround() 75 fround(rRange.getMaxY()), in fround() 76 fround(rRange.getMaxZ())); in fround()
|
H A D | b1drange.cxx | 42 B1IRange fround(const B1DRange& rRange) in fround() function 46 B1IRange( fround( rRange.getMinimum()), in fround() 47 fround( rRange.getMaximum()) ); in fround()
|
/trunk/main/svx/source/svdraw/ |
H A D | impgrfll.cxx | 94 …rBmpOutputSize.Width() = basegfx::fround( (double) rBmpSize.Height() * aBmpPrefSize.Width() / aBmp… in ImpCalcBmpFillSizes() 96 …rBmpOutputSize.Height() = basegfx::fround( (double) rBmpSize.Width() * aBmpPrefSize.Height() / aBm… in ImpCalcBmpFillSizes() 102 …rBmpOutputSize.Height() = basegfx::fround( (double) rOutputRect.GetHeight() * rBmpPerCent.Height()… in ImpCalcBmpFillSizes() 103 …rBmpOutputSize.Width() = basegfx::fround( (double) rBmpOutputSize.Height() * aBmpPrefSize.Width() … in ImpCalcBmpFillSizes() 107 …rBmpOutputSize.Width() = basegfx::fround( (double) rOutputRect.GetWidth() * rBmpPerCent.Width() / … in ImpCalcBmpFillSizes() 108 …rBmpOutputSize.Height() = basegfx::fround( (double) rBmpOutputSize.Width() * aBmpPrefSize.Height()… in ImpCalcBmpFillSizes() 120 …rBmpOutputSize.Width() = basegfx::fround( (double) rOutputRect.GetWidth() * rBmpPerCent.Width() / … in ImpCalcBmpFillSizes() 121 …rBmpOutputSize.Height() = basegfx::fround( (double) rOutputRect.GetHeight() * rBmpPerCent.Height()… in ImpCalcBmpFillSizes()
|
H A D | svdograf.cxx | 1780 …rTarget.AddHdl(new SdrCropHdl(Point(basegfx::fround(aPos.getX()), basegfx::fround(aPos.getY())), H… in addCropHandles() 1782 …rTarget.AddHdl(new SdrCropHdl(Point(basegfx::fround(aPos.getX()), basegfx::fround(aPos.getY())), H… in addCropHandles() 1784 …rTarget.AddHdl(new SdrCropHdl(Point(basegfx::fround(aPos.getX()), basegfx::fround(aPos.getY())), H… in addCropHandles() 1786 …rTarget.AddHdl(new SdrCropHdl(Point(basegfx::fround(aPos.getX()), basegfx::fround(aPos.getY())), H… in addCropHandles() 1788 …rTarget.AddHdl(new SdrCropHdl(Point(basegfx::fround(aPos.getX()), basegfx::fround(aPos.getY())), H… in addCropHandles() 1790 …rTarget.AddHdl(new SdrCropHdl(Point(basegfx::fround(aPos.getX()), basegfx::fround(aPos.getY())), H… in addCropHandles() 1792 …rTarget.AddHdl(new SdrCropHdl(Point(basegfx::fround(aPos.getX()), basegfx::fround(aPos.getY())), H… in addCropHandles() 1794 …rTarget.AddHdl(new SdrCropHdl(Point(basegfx::fround(aPos.getX()), basegfx::fround(aPos.getY())), H… in addCropHandles()
|
/trunk/main/canvas/source/tools/ |
H A D | surface.cxx | 150 aTransform.translate(::basegfx::fround(rPos.getX()), in draw() 151 ::basegfx::fround(rPos.getY())); in draw() 239 ::basegfx::fround(rArea.getMinimum().getX()), in drawRectangularArea() 240 ::basegfx::fround(rArea.getMinimum().getY())); in drawRectangularArea() 242 ::basegfx::fround(rArea.getMaximum().getX()), in drawRectangularArea() 243 ::basegfx::fround(rArea.getMaximum().getY()) ); in drawRectangularArea() 275 aTransform.translate(::basegfx::fround(rPos.getX()), in drawRectangularArea() 276 ::basegfx::fround(rPos.getY())); in drawRectangularArea() 377 aTransform.translate(::basegfx::fround(rPos.getX()), in drawWithClip() 378 ::basegfx::fround(rPos.getY())); in drawWithClip()
|
/trunk/main/cui/source/tabpages/ |
H A D | transfrm.cxx | 328 rSet.Put(SfxInt32Item(GetWhich(SID_ATTR_TRANSFORM_ROT_X), basegfx::fround(fTmpX))); in FillItemSet() 347 SetMetricValue(aMtrPosX, basegfx::fround(fTmp), ePoolUnit); in Reset() 358 SetMetricValue(aMtrPosY, basegfx::fround(fTmp), ePoolUnit); in Reset() 622 SetMetricValue(aMtrRadius, basegfx::fround(fTmp), ePoolUnit); in Reset() 906 rOutAttrs.Put(SfxInt32Item(GetWhich(SID_ATTR_TRANSFORM_POS_X), basegfx::fround(fX))); in FillItemSet() 907 rOutAttrs.Put(SfxInt32Item(GetWhich(SID_ATTR_TRANSFORM_POS_Y), basegfx::fround(fY))); in FillItemSet() 1012 SetMetricValue(maMtrPosX, basegfx::fround(fTmp), mePoolUnit); in Reset() 1019 SetMetricValue(maMtrPosY, basegfx::fround(fTmp), mePoolUnit); in Reset() 1148 basegfx::fround(fX), basegfx::fround(fY), in DeactivatePage() 1149 basegfx::fround(fX + maRange.getWidth()), basegfx::fround(fY + maRange.getHeight())); in DeactivatePage() [all …]
|
/trunk/main/basegfx/source/polygon/ |
H A D | b2dpolypolygonrasterconverter.cxx | 321 mnYCounter( fround(rP2.getY()) - fround(rP1.getY()) ), in ImplLineNode() 383 const sal_Int32 nMinY( fround(maPolyPolyRectangle.getMinY()) ); in init() 384 const sal_Int32 nScanlines(fround(maPolyPolyRectangle.getMaxY()) - nMinY); in init() 402 const sal_Int32 nVertexYP1( fround(rP1.getY()) ); in init() 403 const sal_Int32 nVertexYP2( fround(rP2.getY()) ); in init() 510 const sal_Int32 nMinY( fround(maPolyPolyRectangle.getMinY()) ); in rasterConvert() 511 const sal_Int32 nScanlines(fround(maPolyPolyRectangle.getMaxY()) - nMinY); in rasterConvert()
|
/trunk/main/basegfx/source/tuple/ |
H A D | b3dtuple.cxx | 45 B3ITuple fround(const B3DTuple& rTup) in fround() function 47 return B3ITuple(fround(rTup.getX()), fround(rTup.getY()), fround(rTup.getZ())); in fround()
|
/trunk/main/basebmp/inc/basebmp/ |
H A D | polypolygonrenderer.hxx | 77 mnYCounter( basegfx::fround(rPt2.getY()) - in Vertex() 78 basegfx::fround(rPt1.getY()) ), in Vertex() 79 mnX( toFractional( basegfx::fround(rPt1.getX()) )), in Vertex() 158 const sal_Int32 nMinY( basegfx::fround(aPolyBounds.getMinY()) ); in renderClippedPolyPolygon() 162 basegfx::fround(aPolyBounds.getMaxY()))); in renderClippedPolyPolygon()
|
/trunk/main/basegfx/source/vector/ |
H A D | b2ivector.cxx | 68 mnX = fround( rMat.get(0,0)*mnX + in operator *=() 70 mnY = fround( rMat.get(1,0)*mnX + in operator *=() 89 mnX = fround( mnX*fLen ); in setLength() 90 mnY = fround( mnY*fLen ); in setLength()
|
/trunk/main/canvas/source/cairo/ |
H A D | cairo_canvashelper_text.cxx | 93 const sal_Int32 nScaledFontWidth( ::basegfx::fround(nFontWidth * aScale.getX()) ); in setupFontTransform() 108 io_rVCLFont.SetHeight( ::basegfx::fround(nFontHeight * aScale.getY()) ); in setupFontTransform() 111 …io_rVCLFont.SetOrientation( static_cast< short >( ::basegfx::fround(-fmod(nRotate, 2*M_PI)*(1800.0… in setupFontTransform() 114 o_rPoint.X() = ::basegfx::fround(aTranslate.getX()); in setupFontTransform() 115 o_rPoint.Y() = ::basegfx::fround(aTranslate.getY()); in setupFontTransform()
|
H A D | cairo_spritehelper.cxx | 121 aMatrix.x0 = basegfx::fround( aMatrix.x0 ); in redraw() 122 aMatrix.y0 = basegfx::fround( aMatrix.y0 ); in redraw() 131 fX = basegfx::fround( fX ); in redraw() 132 fY = basegfx::fround( fY ); in redraw()
|
/trunk/main/drawinglayer/source/drawinglayeruno/ |
H A D | xprimitive2drenderer.cxx | 154 … const sal_uInt32 nDiscreteWidth(basegfx::fround((fWidth * fFactor100th_mmToInch) * DPI_X)); in rasterize() 155 … const sal_uInt32 nDiscreteHeight(basegfx::fround((fHeight * fFactor100th_mmToInch) * DPI_Y)); in rasterize() 185 … aBitmapEx.SetPrefSize(Size(basegfx::fround(fWidth), basegfx::fround(fHeight))); in rasterize()
|
/trunk/main/basebmp/source/ |
H A D | bitmapdevice.cxx | 526 implRenderLine2( basegfx::fround(aPoly.getB2DPoint(i-1)), in implDrawPolygon() 527 basegfx::fround(aPoly.getB2DPoint(i)), in implDrawPolygon() 534 implRenderLine2( basegfx::fround(aPoly.getB2DPoint(nVertices-1)), in implDrawPolygon() 535 basegfx::fround(aPoly.getB2DPoint(0)), in implDrawPolygon() 1342 …::basegfx::B2IRange aLocalDestArea( basegfx::fround(aDestTopLeft.getX() + nScaleX*aUpperLeftOffset… in clipAreaImpl() 1343 … basegfx::fround(aDestTopLeft.getY() + nScaleY*aUpperLeftOffset.getY()), in clipAreaImpl() 1344 … basegfx::fround(aDestTopLeft.getX() + nScaleX*aLowerRightOffset.getX()), in clipAreaImpl() 1345 … basegfx::fround(aDestTopLeft.getY() + nScaleY*aLowerRightOffset.getY()) ); in clipAreaImpl() 1360 …io_rSourceArea = ::basegfx::B2IRange( basegfx::fround(aSourceTopLeft.getX() + aDestUpperLeftOffset… in clipAreaImpl() 1361 … basegfx::fround(aSourceTopLeft.getY() + aDestUpperLeftOffset.getY()/nScaleY), in clipAreaImpl() [all …]
|
/trunk/main/canvas/source/directx/ |
H A D | dx_textlayout_drawhelper.cxx | 156 Size( 0, ::basegfx::fround(rFontRequest.CellSize))); in drawText() 183 const sal_Int32 nNewWidth = ::basegfx::fround( aSize.Width() * fStretch ); in drawText() 253 pDXArray[i] = basegfx::fround( rLogicalAdvancements[i] ); in drawText() 294 Size( 0, ::basegfx::fround(rFontRequest.CellSize))); in queryTextBounds() 315 const sal_Int32 nNewWidth = ::basegfx::fround( aSize.Width() * fStretch ); in queryTextBounds()
|
/trunk/main/sd/source/ui/slidesorter/view/ |
H A D | SlsPageObjectLayouter.cxx | 130 nPreviewHeight = ::basegfx::fround(nPreviewWidth / nPageAspectRatio); in CalculatePreviewBoundingBox() 139 nPreviewWidth = ::basegfx::fround(nPreviewHeight * nPageAspectRatio); in CalculatePreviewBoundingBox() 153 nPreviewWidth = ::basegfx::fround(nPreviewHeight * nPageAspectRatio); in CalculatePreviewBoundingBox() 155 nPreviewHeight = ::basegfx::fround(nPreviewWidth / nPageAspectRatio); in CalculatePreviewBoundingBox()
|