Home
last modified time | relevance | path

Searched refs:FRound (Results 1 – 25 of 63) sorted by relevance

123

/trunk/main/svx/source/svdraw/
H A Dgradtrns.cxx242 sal_Int32 nNewAngle = FRound(fNewFullAngle); in VecToGrad()
259 sal_Int32 nNewBorder(100L - FRound(fNewBorder)); in VecToGrad()
290 sal_Int32 nNewBorder = 100 - FRound(fNewBorder); in VecToGrad()
327 const sal_Int32 nNewAngle(FRound(fNewFullAngle)); in VecToGrad()
344 sal_Int32 nNewXOffset(FRound((aOffset.getX() * 100.0) / aRange.getWidth())); in VecToGrad()
345 sal_Int32 nNewYOffset(FRound((aOffset.getY() * 100.0) / aRange.getHeight())); in VecToGrad()
384 sal_Int32 nNewBorder(100L - FRound(fNewBorder)); in VecToGrad()
423 const sal_Int32 nNewAngle(FRound(fNewFullAngle)); in VecToGrad()
440 sal_Int32 nNewXOffset(FRound((aOffset.getX() * 100.0) / aRange.getWidth())); in VecToGrad()
480 sal_Int32 nNewBorder(100L - FRound(fNewBorder)); in VecToGrad()
[all …]
H A Dsvdpoev.cxx635 aPos = Point(FRound(aB2DPos.getX()), FRound(aB2DPos.getY())); in ImpTransformMarkedPoints()
640 aC1 = Point(FRound(aB2DC1.getX()), FRound(aB2DC1.getY())); in ImpTransformMarkedPoints()
647 aC2 = Point(FRound(aB2DC2.getX()), FRound(aB2DC2.getY())); in ImpTransformMarkedPoints()
H A Dsvdopath.cxx1713 FRound(aRange.getMinX()), FRound(aRange.getMinY()), in ImpGetBoundRect()
1714 FRound(aRange.getMaxX()), FRound(aRange.getMaxY())); in ImpGetBoundRect()
1724 const Point aPoint0(FRound(aB2DPoint0.getX()), FRound(aB2DPoint0.getY())); in ImpForceLineWink()
1725 const Point aPoint1(FRound(aB2DPoint1.getX()), FRound(aB2DPoint1.getY())); in ImpForceLineWink()
1902 const Point aPoint0(FRound(aB2DPoint0.getX()), FRound(aB2DPoint0.getY())); in TakeObjNameSingul()
1903 const Point aPoint1(FRound(aB2DPoint0.getX()), FRound(aB2DPoint0.getY())); in TakeObjNameSingul()
2486 return Point(FRound(aB2DPoint.getX()), FRound(aB2DPoint.getY())); in GetSnapPoint()
2516 aRetval = Point(FRound(aPoint.getX()), FRound(aPoint.getY())); in GetPoint()
3090 aGeo.nShearWink = FRound(atan(fShearX) / F_PI18000); in TRSetBaseGeometry()
3104 aGeo.nDrehWink = NormAngle360(FRound(-fRotate / F_PI18000)); in TRSetBaseGeometry()
H A Dsdrpagewindow.cxx243 const Point aStart(FRound(aBStart.getX()), FRound(aBStart.getY())); in impPaintStrokePolygon()
244 const Point aEnd(FRound(aBEnd.getX()), FRound(aBEnd.getY())); in impPaintStrokePolygon()
H A Dsvdhdl.cxx1332 …SetPos(Point(FRound(aGradTransVector.maPositionA.getX()), FRound(aGradTransVector.maPositionA.getY… in FromIAOToItem()
1333 …Set2ndPos(Point(FRound(aGradTransVector.maPositionB.getX()), FRound(aGradTransVector.maPositionB.g… in FromIAOToItem()
1336 …pColHdl1->SetPos(Point(FRound(aGradTransVector.maPositionA.getX()), FRound(aGradTransVector.maPosi… in FromIAOToItem()
1341 …pColHdl2->SetPos(Point(FRound(aGradTransVector.maPositionB.getX()), FRound(aGradTransVector.maPosi… in FromIAOToItem()
H A Dsvdocapt.cxx831 Point aPoint(FRound(aTranslate.getX()), FRound(aTranslate.getY())); in TRSetBaseGeometry()
832 Rectangle aBaseRect(aPoint, Size(FRound(aScale.getX()), FRound(aScale.getY()))); in TRSetBaseGeometry()
/trunk/main/tools/source/generic/
H A Dpoly.cxx523 long nX = FRound( nRadX * cos( nAngle ) ); in Polygon()
524 long nY = FRound( -nRadY * sin( nAngle ) ); in Polygon()
592 const Point aCenter2( FRound( fCenterX ), FRound( fCenterY ) ); in Polygon()
611 rPt.X() = FRound( fCenterX + fRadX * cos( fStart ) ); in Polygon()
612 rPt.Y() = FRound( fCenterY - fRadY * sin( fStart ) ); in Polygon()
1036 *rPointIter++ = Point( FRound(P1x), FRound(P1y) ); in ImplAdaptiveSubdivide()
2311 …const Point aStartPoint(FRound(aBezier.getStartPoint().getX()), FRound(aBezier.getStartPoint().get… in Polygon()
2326 …mpImplPolygon->mpPointAry[nArrayInsert] = Point(FRound(aBezier.getControlPointA().getX()), FRound(… in Polygon()
2330 …mpImplPolygon->mpPointAry[nArrayInsert] = Point(FRound(aBezier.getControlPointB().getX()), FRound(… in Polygon()
2365 const Point aEnd(FRound(aClosingPoint.getX()), FRound(aClosingPoint.getY())); in Polygon()
[all …]
H A Dline.cxx53 rIntersection.X() = FRound( fX ); in Intersection()
54 rIntersection.Y() = FRound( fY ); in Intersection()
193 aRetPt.X() = FRound( maStart.X() + fTau * fDistX ); in NearestPoint()
194 aRetPt.Y() = FRound( maStart.Y() - fTau * fDistY ); in NearestPoint()
/trunk/main/vcl/source/helper/
H A Dcanvastools.cxx500 return ::Size( FRound( rVec.getX() ), in sizeFromB2DSize()
501 FRound( rVec.getY() ) ); in sizeFromB2DSize()
506 return ::Point( FRound( rPoint.getX() ), in pointFromB2DPoint()
507 FRound( rPoint.getY() ) ); in pointFromB2DPoint()
512 return ::Rectangle( FRound( rRect.getMinX() ), in rectangleFromB2DRectangle()
513 FRound( rRect.getMinY() ), in rectangleFromB2DRectangle()
514 FRound( rRect.getMaxX() ), in rectangleFromB2DRectangle()
515 FRound( rRect.getMaxY() ) ); in rectangleFromB2DRectangle()
/trunk/main/vcl/source/gdi/
H A Doutdev4.cxx1270 const long nYOff = FRound( ( rRect.Right() - rRect.Left() ) * fTan ); in ImplCalcHatchValues()
1273 rInc = Size( 0, nDist = FRound( nDist / cos( fAngle ) ) ); in ImplCalcHatchValues()
1280 nPY = FRound( aRef.Y() - ( ( rPt1.X() - aRef.X() ) * fTan ) ); in ImplCalcHatchValues()
1287 nPY = FRound( aRef.Y() + ( ( rPt1.X() - aRef.X() ) * fTan ) ); in ImplCalcHatchValues()
1302 const long nXOff = FRound( ( rRect.Bottom() - rRect.Top() ) / fTan ); in ImplCalcHatchValues()
1305 rInc = Size( nDist = FRound( nDist / sin( fAngle ) ), 0 ); in ImplCalcHatchValues()
1312 nPX = FRound( aRef.X() - ( ( rPt1.Y() - aRef.Y() ) / fTan ) ); in ImplCalcHatchValues()
1319 nPX = FRound( aRef.X() + ( ( rPt1.Y() - aRef.Y() ) / fTan ) ); in ImplCalcHatchValues()
1383 pPtBuffer[ nPCounter++ ] = Point( FRound( fX ), FRound( fY ) ); in ImplDrawHatchLine()
H A Dprint2.cxx1418 aNewBmpSize.Width() = FRound( fMaxPixelY * fBmpWH ); in GetDownsampledBitmap()
1419 aNewBmpSize.Height() = FRound( fMaxPixelY ); in GetDownsampledBitmap()
1423 aNewBmpSize.Width() = FRound( fMaxPixelX ); in GetDownsampledBitmap()
1424 aNewBmpSize.Height() = FRound( fMaxPixelX / fBmpWH); in GetDownsampledBitmap()
1487 aNewBmpSize.Width() = FRound( fMaxPixelY * fBmpWH ); in GetDownsampledBitmapEx()
1488 aNewBmpSize.Height() = FRound( fMaxPixelY ); in GetDownsampledBitmapEx()
1492 aNewBmpSize.Width() = FRound( fMaxPixelX ); in GetDownsampledBitmapEx()
1493 aNewBmpSize.Height() = FRound( fMaxPixelX / fBmpWH); in GetDownsampledBitmapEx()
H A Dimpanmvw.cxx153 rPosPix.X() = FRound( rAnm.aPosPix.X() * fFactX ); in ImplGetPosSize()
154 rPosPix.Y() = FRound( rAnm.aPosPix.Y() * fFactY ); in ImplGetPosSize()
156 aPt2.X() = FRound( aPt2.X() * fFactX ); in ImplGetPosSize()
157 aPt2.Y() = FRound( aPt2.Y() * fFactY ); in ImplGetPosSize()
H A Dmetaact.cxx42 rPt.X() = FRound( fScaleX * rPt.X() ); in ImplScalePoint()
43 rPt.Y() = FRound( fScaleY * rPt.Y() ); in ImplScalePoint()
76 rLineInfo.SetWidth( FRound( fScale * rLineInfo.GetWidth() ) ); in ImplScaleLineInfo()
587 mnHorzRound = FRound( mnHorzRound * fabs(fScaleX) ); in Scale()
588 mnVertRound = FRound( mnVertRound * fabs(fScaleY) ); in Scale()
1385 mpDXAry[ i ] = FRound( mpDXAry[ i ] * fabs(fScaleX) ); in Scale()
1535 mnWidth = (sal_uLong)FRound( mnWidth * fabs(fScaleX) ); in Scale()
1728 mnWidth = FRound( mnWidth * fabs(fScaleX) ); in Scale()
3015 mnHorzMove = FRound( mnHorzMove * fScaleX ); in Scale()
3016 mnVertMove = FRound( mnVertMove * fScaleY ); in Scale()
[all …]
H A Dbitmap3.cxx1110 const long nNewWidth = FRound( aSizePix.Width() * rScaleX ); in ImplScaleFast()
1111 const long nNewHeight = FRound( aSizePix.Height() * rScaleY ); in ImplScaleFast()
1181 const long nNewWidth = FRound( aSizePix.Width() * rScaleX ); in ImplScaleInterpolate()
1182 const long nNewHeight = FRound( aSizePix.Height() * rScaleY ); in ImplScaleInterpolate()
1376 const long nDstW = FRound( aSizePix.Width() * scaleX ); in ImplScaleSuper()
1377 const long nDstH = FRound( aSizePix.Height() * scaleY ); in ImplScaleSuper()
2244 const sal_uInt32 nNewWidth(FRound(nWidth * rScaleX)); in ImplScaleConvolutionHor()
2335 const sal_uInt32 nNewHeight(FRound(nHeight * rScaleY)); in ImplScaleConvolutionVer()
2439 const sal_uInt32 nNewWidth(FRound(nWidth * fScaleX)); in ImplScaleConvolution()
2440 const sal_uInt32 nNewHeight(FRound(nHeight * fScaleY)); in ImplScaleConvolution()
[all …]
H A Dgdimtf.cxx46 #define GAMMA( _def_cVal, _def_InvGamma ) ((sal_uInt8)MinMax(FRound(pow( _def_cVal/255.0,_def_InvGa…
903 aPrefSize.Width() = FRound( aPrefSize.Width() * fScaleX ); in Scale()
904 aPrefSize.Height() = FRound( aPrefSize.Height() * fScaleY ); in Scale()
956 return Point( FRound( fCos * nX + fSin * nY ) + rRotatePt.X() + rOffset.Width(), in ImplGetRotatedPoint()
957 -FRound( fSin * nX - fCos * nY ) + rRotatePt.Y() + rOffset.Height() ); in ImplGetRotatedPoint()
2346 aColParam.pMapR[ nX ] = (sal_uInt8) MinMax( FRound( nX * fM + fROff ), 0L, 255L ); in Adjust()
2347 aColParam.pMapG[ nX ] = (sal_uInt8) MinMax( FRound( nX * fM + fGOff ), 0L, 255L ); in Adjust()
2348 aColParam.pMapB[ nX ] = (sal_uInt8) MinMax( FRound( nX * fM + fBOff ), 0L, 255L ); in Adjust()
3055 aSizePix.Width() = FRound( nMaximumExtent * fWH ); in CreateThumbnail()
3061 aSizePix.Height() = FRound( nMaximumExtent / fWH ); in CreateThumbnail()
[all …]
H A Doutdev2.cxx126 …const long nDstX1 = rTwoRect.mnDestX + FRound( fFactorX * ( aCropRect.Left() - rTwoRect.mnSrcX ) ); in ImplAdjustTwoRect()
127 … const long nDstY1 = rTwoRect.mnDestY + FRound( fFactorY * ( aCropRect.Top() - rTwoRect.mnSrcY ) ); in ImplAdjustTwoRect()
128 …const long nDstX2 = rTwoRect.mnDestX + FRound( fFactorX * ( aCropRect.Right() - rTwoRect.mnSrcX ) … in ImplAdjustTwoRect()
129 …const long nDstY2 = rTwoRect.mnDestY + FRound( fFactorY * ( aCropRect.Bottom() - rTwoRect.mnSrcY )… in ImplAdjustTwoRect()
2450 pMapX[ nX ] = aDestPt.X() + FRound( (double) aDestSz.Width() * nX / nSrcWidth ); in ImplPrintTransparent()
2453 pMapY[ nY ] = aDestPt.Y() + FRound( (double) aDestSz.Height() * nY / nSrcHeight ); in ImplPrintTransparent()
2558 pMapX[ nX ] = aDestPt.X() + FRound( (double) aDestSz.Width() * nX / nSrcWidth ); in ImplPrintMask()
2561 pMapY[ nY ] = aDestPt.Y() + FRound( (double) aDestSz.Height() * nY / nSrcHeight ); in ImplPrintMask()
/trunk/main/filter/source/flash/
H A Dswfwriter1.cxx572 pDX[ i ] = FRound( pDX[ i ] * fFactor ); in Impl_writeText()
721 const long nLineHeight = Max( (long) FRound( aMetric.GetLineHeight() * 0.05 ), (long) 1 ); in Impl_writeText()
726 aPoly[ 0 ].Y() = aBaseLinePos.Y() - FRound( aMetric.GetAscent() * 0.26 ) - nLineHeight; in Impl_writeText()
1610 sal_uInt8 nTransparence = (sal_uInt8) MinMax( FRound( pA->GetTransparence() * 2.55 ), 0, 255 ); in Impl_writeActions()
1631 aSrcPt.X() = FRound( aSrcPt.X() * fScaleX ); in Impl_writeActions()
1632 aSrcPt.Y() = FRound( aSrcPt.Y() * fScaleY ); in Impl_writeActions()
1942 Point aPoint( FRound(P2x), FRound(P2y) ); in Impl_addStraightLine()
1956 Point aControlPoint( FRound(P2x), FRound(P2y) ); in Impl_addQuadBezier()
1957 Point aAnchorPoint( FRound(P3x), FRound(P3y) ); in Impl_addQuadBezier()
/trunk/main/filter/source/svg/
H A Dsvgwriter.cxx734 ImplMap( FRound( rShape.maDashArray[ k ] ) ) : in ImplWriteShape()
735 FRound( rShape.maDashArray[ k ] ) ); in ImplWriteShape()
904 pDX[ i ] = FRound( pDX[ i ] * fFactor ); in ImplWriteText()
962 … const long nLineHeight = Max( (long) FRound( aMetric.GetLineHeight() * 0.05 ), (long) 1 ); in ImplWriteText()
966 const long nYLinePos = aBaseLinePos.Y() - FRound( aMetric.GetAscent() * 0.26 ); in ImplWriteText()
1366 …aNewLineColor.SetTransparency( sal::static_int_cast<sal_uInt8>( FRound( pA->GetTransparence() * 2.… in ImplWriteActions()
1367 …aNewFillColor.SetTransparency( sal::static_int_cast<sal_uInt8>( FRound( pA->GetTransparence() * 2.… in ImplWriteActions()
1393 aSrcPt.X() = FRound( aSrcPt.X() * fScaleX ), aSrcPt.Y() = FRound( aSrcPt.Y() * fScaleY ); in ImplWriteActions()
1503 …mapCurShape->maShapeFillColor.SetTransparency( (sal_uInt8) FRound( 255.0 * aFill.getTransparency()… in ImplWriteActions()
1592 …mapCurShape->maShapeLineColor.SetTransparency( (sal_uInt8) FRound( aStroke.getTransparency() * 255… in ImplWriteActions()
[all …]
/trunk/main/svtools/source/graphic/
H A Dgrfmgr.cxx366 …nNewLeft = -FRound( ( ( pAttr->GetMirrorFlags() & BMP_MIRROR_HORZ ) ? pAttr->GetRightCrop() : pAtt… in ImplGetCropParams()
367 nNewRight = nNewLeft + FRound( aSize100.Width() * fScale ) - 1; in ImplGetCropParams()
370 rPt.X() += FRound( nNewLeft * fScale ); in ImplGetCropParams()
371 rSz.Width() = FRound( ( nNewRight - nNewLeft + 1 ) * fScale ); in ImplGetCropParams()
374 …nNewTop = -FRound( ( ( pAttr->GetMirrorFlags() & BMP_MIRROR_VERT ) ? pAttr->GetBottomCrop() : pAtt… in ImplGetCropParams()
375 nNewBottom = nNewTop + FRound( aSize100.Height() * fScale ) - 1; in ImplGetCropParams()
378 rPt.Y() += FRound( nNewTop * fScale ); in ImplGetCropParams()
379 rSz.Height() = FRound( ( nNewBottom - nNewTop + 1 ) * fScale ); in ImplGetCropParams()
H A Dgrfmgr2.cxx1003 rOutMtf.SetPrefSize( Size( FRound( aNewSize.Width() * fScaleX ), in ImplCreateOutput()
1004 FRound( aNewSize.Height() * fScaleY ) ) ); in ImplCreateOutput()
1335 pMapLX[ nX++ ] = FRound( (double) pMapIX[ nTmpX ] + pMapFX[ nTmpX ] / 1048576. ); in ImplCreateScaled()
1339 pMapLY[ nY++ ] = FRound( (double) pMapIY[ nTmpY ] + pMapFY[ nTmpY ] / 1048576. ); in ImplCreateScaled()
1450 pCosX[ nX ] = FRound( fCosAngle * ( fTmp = nTmpX++ << 8 ) ); in ImplCreateRotatedScaled()
1451 pSinX[ nX ] = FRound( fSinAngle * fTmp ); in ImplCreateRotatedScaled()
1457 pCosY[ nY ] = FRound( fCosAngle * ( fTmp = nTmpY++ << 8 ) ); in ImplCreateRotatedScaled()
1458 pSinY[ nY ] = FRound( fSinAngle * fTmp ); in ImplCreateRotatedScaled()
1682 pMapLX[ nX ] = FRound( (double) pMapIX[ nX ] + pMapFX[ nX ] / 1048576. ); in ImplCreateRotatedScaled()
1686 pMapLY[ nY ] = FRound( (double) pMapIY[ nY ] + pMapFY[ nY ] / 1048576. ); in ImplCreateRotatedScaled()
/trunk/main/sfx2/source/doc/
H A Dgraphhelp.cxx316 aSizePix.Width() = FRound( nMaximumExtent * fWH ); in createThumb_Impl()
322 aSizePix.Height() = FRound( nMaximumExtent / fWH ); in createThumb_Impl()
325 …aDrawSize.Width() = FRound( ( static_cast< double >( aDrawSize.Width() ) * aSizePix.Width() ) / aO… in createThumb_Impl()
326 …aDrawSize.Height() = FRound( ( static_cast< double >( aDrawSize.Height() ) * aSizePix.Height() ) /… in createThumb_Impl()
/trunk/main/svtools/source/filter/wmf/
H A Dwinmtf.cxx483 return Point( FRound( fX2 ), FRound( fY2 ) ); in ImplMap()
538 return Size( FRound( fWidth ), FRound( fHeight ) ); in ImplMap()
1944 mnDevWidth = FRound( mnDevWidth * fX ); in ScaleDevExt()
1945 mnDevHeight = FRound( mnDevHeight * fY ); in ScaleDevExt()
1987 mnWinExtX = FRound( mnWinExtX * fX ); in ScaleWinExt()
1988 mnWinExtY = FRound( mnWinExtY * fY ); in ScaleWinExt()
/trunk/main/sd/source/ui/dlg/
H A Dvectdlg.cxx264 const Color aColor( (sal_uInt8) FRound( nSumR * fMult ), in AddTile()
265 (sal_uInt8) FRound( nSumG * fMult ), in AddTile()
266 (sal_uInt8) FRound( nSumB * fMult ) ); in AddTile()
/trunk/main/cui/source/dialogs/
H A Dcuigrfflt.cxx487 const Size aSize( Max( FRound( GetTileWidth() * fScaleX ), 1L ), in GetFilteredGraphic()
488 Max( FRound( GetTileHeight() * fScaleY ), 1L ) ); in GetFilteredGraphic()
532 maMtrThreshold.SetValue( FRound( cGreyThreshold / 2.55 ) ); in GraphicFilterSolarize()
/trunk/main/xmloff/source/draw/
H A Dshapeexport2.cxx158 mrExport.GetMM100UnitConverter().convertMeasure(sStringBuffer, FRound(aTRScale.getX())); in ImpExportNewTrans_FeaturesAndWrite()
175 mrExport.GetMM100UnitConverter().convertMeasure(sStringBuffer, FRound(aTRScale.getY())); in ImpExportNewTrans_FeaturesAndWrite()
209 mrExport.GetMM100UnitConverter().convertMeasure(sStringBuffer, FRound(rTRTranslate.getX())); in ImpExportNewTrans_FeaturesAndWrite()
217 mrExport.GetMM100UnitConverter().convertMeasure(sStringBuffer, FRound(rTRTranslate.getY())); in ImpExportNewTrans_FeaturesAndWrite()
830 awt::Point aBasePosition(FRound(aTRTranslate.getX()), FRound(aTRTranslate.getY()));
1008 awt::Size aSize(FRound(aTRScale.getX()), FRound(aTRScale.getY()));

Completed in 201 milliseconds

123