Home
last modified time | relevance | path

Searched refs:Round (Results 1 – 20 of 20) sorted by relevance

/trunk/main/svx/inc/svx/
H A Dsvdtrans.hxx54 inline long Round(double a) { return a>0.0 ? (long)(a+0.5) : -(long)((-a)+0.5); } in Round() function
124 …rPnt.X()=rRef.X()+ Round(((double)(rPnt.X()-rRef.X())*xFact.GetNumerator())/xFact.GetDenominator()… in ResizePoint()
125 …rPnt.Y()=rRef.Y()+ Round(((double)(rPnt.Y()-rRef.Y())*yFact.GetNumerator())/yFact.GetDenominator()… in ResizePoint()
132 rPnt.X()=Round(rRef.X()+dx*cs+dy*sn); in RotatePoint()
133 rPnt.Y()=Round(rRef.Y()+dy*cs-dx*sn); in RotatePoint()
140 rPnt.X()-=Round((rPnt.Y()-rRef.Y())*tn); in ShearPoint()
144 rPnt.Y()-=Round((rPnt.X()-rRef.X())*tn); in ShearPoint()
/trunk/main/svx/source/svdraw/
H A Dsvdtrans.cxx63 …rRect.Left() =rRef.X()+Round(((double)(rRect.Left() -rRef.X())*xFact.GetNumerator())/xFact.GetDe… in ResizeRect()
64 …rRect.Right() =rRef.X()+Round(((double)(rRect.Right() -rRef.X())*xFact.GetNumerator())/xFact.GetDe… in ResizeRect()
79 …rRect.Top() =rRef.Y()+Round(((double)(rRect.Top() -rRef.Y())*yFact.GetNumerator())/yFact.GetDe… in ResizeRect()
80 …rRect.Bottom()=rRef.Y()+Round(((double)(rRect.Bottom()-rRef.Y())*yFact.GetNumerator())/yFact.GetDe… in ResizeRect()
283 pC1->Y()=Round(((double)pC1->Y()) /rRad.X()*(cx-pC1->X())); in CrookRotateXPoint()
291 pC1->X()=Round((double)pC1->X()*nFact); in CrookRotateXPoint()
301 pC2->Y()=Round(((double)pC2->Y()) /rRad.X()*(rCenter.X()-pC2->X())); in CrookRotateXPoint()
309 pC2->X()=Round((double)pC2->X()*nFact); in CrookRotateXPoint()
393 rPnt.Y()=y0+Round(a); in CrookStretchXPoint()
505 a=Round((atan2((double)-rPnt.Y(),(double)rPnt.X())/nPi180)); in GetAngle()
[all …]
H A Dsvdocirc.cxx69 Point aRetval(Round(cos(a)*nMaxRad),-Round(sin(a)*nMaxRad)); in GetWinkPnt()
892 aTmpPt1=Point(Round(cos(a)*nMaxRad),-Round(sin(a)*nMaxRad)); in NbcMirror()
898 aTmpPt2=Point(Round(cos(a)*nMaxRad),-Round(sin(a)*nMaxRad)); in NbcMirror()
1010 long nDst=Round((rRect.Bottom()-rRect.Top())*aGeo.nTan); in TakeUnrotatedSnapRect()
H A Dsvdomeas.cxx487 long dx= Round(nLineDist*nHlpCos); in ImpCalcGeometrics()
488 long dy=-Round(nLineDist*nHlpSin); in ImpCalcGeometrics()
489 long dxh1a= Round((nHelplineDist-rRec.nHelpline1Len)*nHlpCos); in ImpCalcGeometrics()
490 long dyh1a=-Round((nHelplineDist-rRec.nHelpline1Len)*nHlpSin); in ImpCalcGeometrics()
491 long dxh1b= Round((nHelplineDist-rRec.nHelpline2Len)*nHlpCos); in ImpCalcGeometrics()
492 long dyh1b=-Round((nHelplineDist-rRec.nHelpline2Len)*nHlpSin); in ImpCalcGeometrics()
493 long dxh2= Round((nLineDist+nOverhang)*nHlpCos); in ImpCalcGeometrics()
494 long dyh2=-Round((nLineDist+nOverhang)*nHlpSin); in ImpCalcGeometrics()
H A Dsvdopath.cxx331 nRad=Abs(Round(nR)); in CalcCircle()
336 aCircCenter.X()+=Round(nRad*cos((nTangAngle+9000)*nPi180)); in CalcCircle()
337 aCircCenter.Y()-=Round(nRad*sin((nTangAngle+9000)*nPi180)); in CalcCircle()
341 aCircCenter.X()+=Round(nRad*cos((nTangAngle-9000)*nPi180)); in CalcCircle()
342 aCircCenter.Y()-=Round(nRad*sin((nTangAngle-9000)*nPi180)); in CalcCircle()
464 y+=Round(nGKathLen*sn); in CalcRect()
465 x+=Round(nGKathLen*cs); in CalcRect()
H A Dsvdedtv1.cxx591 pO->Rotate(aCtr0, Round(nWink/nPi180), nSin, nCos); in ImpCrookObj()
1583 nShearAngle=Round(nNew); in SetGeoAttrToMarked()
1688 nTempAngle=Round(nNew); in SetGeoAttrToMarked()
H A Dsvdorect.cxx218 long nDst=Round((aRect.Bottom()-aRect.Top())*aGeo.nTan); in TakeUnrotatedSnapRect()
/trunk/main/sdext/source/presenter/
H A DPresenterGeometryHelper.cxx80 sal_Int32 PresenterGeometryHelper::Round (const double nValue) in Round() function in sdext::presenter::PresenterGeometryHelper
105 Round(rBox.X1), in ConvertRectangleWithConstantSize()
106 Round(rBox.Y1), in ConvertRectangleWithConstantSize()
107 Round(rBox.X2 - rBox.X1), in ConvertRectangleWithConstantSize()
108 Round(rBox.Y2 - rBox.Y1)); in ConvertRectangleWithConstantSize()
H A DPresenterTextView.cxx426 PresenterGeometryHelper::Round(maLocation.X)-nAdditionalLeftBorder, rUpdateBox.X)); in Paint()
428 PresenterGeometryHelper::Round(maLocation.Y), rUpdateBox.Y)); in Paint()
430 …PresenterGeometryHelper::Round(maLocation.X+maSize.Width)+nAdditionalRightBorder, rUpdateBox.X+rUp… in Paint()
432 … PresenterGeometryHelper::Round(maLocation.Y+maSize.Height), rUpdateBox.Y+rUpdateBox.Height)); in Paint()
H A DPresenterGeometryHelper.hxx44 static sal_Int32 Round (const double nValue);
H A DPresenterWindowManager.cxx1050 PresenterGeometryHelper::Round(aSize.Width), in LayoutToolBar()
1051 PresenterGeometryHelper::Round(aSize.Height)), in LayoutToolBar()
/trunk/main/basic/source/runtime/
H A Drtlproto.hxx235 extern RTLFUNC(Round);
H A Dstdobj.cxx464 { "Round", SbxDOUBLE, 2 | _FUNCTION | _COMPTMASK, RTLNAME(Round),0},
H A Dmethods1.cxx2566 RTLFUNC(Round) in RTLFUNC() argument
/trunk/main/sw/source/ui/ribbar/
H A Dinputwin.src90 Text [ en-US ] = "Round" ;
/trunk/main/starmath/source/
H A Dtoolbox.src1079 Text [ en-US ] = "Round Brackets" ;
1145 Text [ en-US ] = "Round Brackets (Scalable)" ;
/trunk/main/svx/source/sidebar/line/
H A DLinePropertyPanel.src220 < "Round" ; > ;
/trunk/main/svx/source/customshapes/
H A DEnhancedCustomShape2d.cxx1154 Round( fX + aReferencePoint.X() ), in GetHandlePosition()
1156 Round( ( fY * fYScale ) / fXScale + aReferencePoint.Y() ) ); in GetHandlePosition()
/trunk/main/cui/source/tabpages/
H A Dtabline.src276 < "Round" ; > ;
/trunk/main/vigra/
H A Dvigra1.6.0.patch820 /*! Round up to the nearest power of 2.