Home
last modified time | relevance | path

Searched refs:fround (Results 1 – 25 of 116) sorted by relevance

12345

/aoo41x/main/drawinglayer/source/primitive2d/
H A Dgraphicprimitivehelper2d.cxx315 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 …]
/aoo41x/main/canvas/source/vcl/
H A Dimpltools.cxx157 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 Dcanvashelper_texturefill.cxx193 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 Dspritehelper.cxx217 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()
/aoo41x/main/basegfx/source/range/
H A Db3drange.cxx67 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 Db1drange.cxx42 B1IRange fround(const B1DRange& rRange) in fround() function
46 B1IRange( fround( rRange.getMinimum()), in fround()
47 fround( rRange.getMaximum()) ); in fround()
/aoo41x/main/drawinglayer/source/processor2d/
H A Dvclprocessor2d.cxx87 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 Dhelperwrongspellrenderer.cxx49 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 Dvclmetafileprocessor2d.cxx244 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()
1545 basegfx::fround(rFillHatchAttribute.getDistance()), in processBasePrimitive2D()
1546 basegfx::fround(rFillHatchAttribute.getAngle() / F_PI1800))); in processBasePrimitive2D()
1917 …const sal_uInt16 nTransPercentVcl((sal_uInt16)basegfx::fround(rUniTransparenceCandidate.getTranspa… in processBasePrimitive2D()
1956 …const sal_uInt8 nTransPercentVcl((sal_uInt8)basegfx::fround(rUniTransparenceCandidate.getTranspare… in processBasePrimitive2D()
2053 … aSizePixel = Size(basegfx::fround((double)aSizePixel.getWidth() * fReduceFactor), in processBasePrimitive2D()
2054 … basegfx::fround((double)aSizePixel.getHeight() * fReduceFactor)); in processBasePrimitive2D()
/aoo41x/main/basegfx/inc/basegfx/tuple/
H A Db3ituple.hxx275 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 Db2ituple.hxx246 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()
/aoo41x/main/svx/source/svdraw/
H A Dimpgrfll.cxx95 …rBmpOutputSize.Width() = basegfx::fround( (double) rBmpSize.Height() * aBmpPrefSize.Width() / aBmp… in ImpCalcBmpFillSizes()
97 …rBmpOutputSize.Height() = basegfx::fround( (double) rBmpSize.Width() * aBmpPrefSize.Height() / aBm… in ImpCalcBmpFillSizes()
103 …rBmpOutputSize.Height() = basegfx::fround( (double) rOutputRect.GetHeight() * rBmpPerCent.Height()… in ImpCalcBmpFillSizes()
104 …rBmpOutputSize.Width() = basegfx::fround( (double) rBmpOutputSize.Height() * aBmpPrefSize.Width() … in ImpCalcBmpFillSizes()
108 …rBmpOutputSize.Width() = basegfx::fround( (double) rOutputRect.GetWidth() * rBmpPerCent.Width() / … in ImpCalcBmpFillSizes()
109 …rBmpOutputSize.Height() = basegfx::fround( (double) rBmpOutputSize.Width() * aBmpPrefSize.Height()… in ImpCalcBmpFillSizes()
121 …rBmpOutputSize.Width() = basegfx::fround( (double) rOutputRect.GetWidth() * rBmpPerCent.Width() / … in ImpCalcBmpFillSizes()
122 …rBmpOutputSize.Height() = basegfx::fround( (double) rOutputRect.GetHeight() * rBmpPerCent.Height()… in ImpCalcBmpFillSizes()
H A Dsvdograf.cxx1780 …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()
/aoo41x/main/canvas/source/tools/
H A Dsurface.cxx150 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()
/aoo41x/main/cui/source/tabpages/
H A Dtransfrm.cxx328 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 …]
/aoo41x/main/basegfx/source/polygon/
H A Db2dpolypolygonrasterconverter.cxx321 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()
/aoo41x/main/basegfx/source/tuple/
H A Db3dtuple.cxx45 B3ITuple fround(const B3DTuple& rTup) in fround() function
47 return B3ITuple(fround(rTup.getX()), fround(rTup.getY()), fround(rTup.getZ())); in fround()
/aoo41x/main/basebmp/inc/basebmp/
H A Dpolypolygonrenderer.hxx77 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()
/aoo41x/main/basegfx/source/vector/
H A Db2ivector.cxx68 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()
/aoo41x/main/canvas/source/cairo/
H A Dcairo_canvashelper_text.cxx93 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 Dcairo_spritehelper.cxx121 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()
/aoo41x/main/drawinglayer/source/drawinglayeruno/
H A Dxprimitive2drenderer.cxx154 … 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()
/aoo41x/main/canvas/source/directx/
H A Ddx_textlayout_drawhelper.cxx156 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()
/aoo41x/main/sd/source/ui/slidesorter/view/
H A DSlsPageObjectLayouter.cxx130 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()
/aoo41x/main/basebmp/source/
H A Dbitmapdevice.cxx526 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 …]

Completed in 158 milliseconds

12345