Lines Matching refs:round
85 sal_Int32 round (const double nValue) { return sal::static_int_cast<sal_Int32>(0.5 + nValue); } in round() function
1309 mnHorizontalGap = round((nWidth - mnColumnCount*nPreviewWidth) / mnColumnCount); in Update()
1329 mnHorizontalGap = round((nWidth - mnColumnCount*nPreviewWidth) / mnColumnCount); in Update()
1345 mnHorizontalGap = round(gnMaximalHorizontalPreviewGap); in Update()
1352 mnHorizontalGap = round((nWidth - mnColumnCount*nPreviewWidth) / mnColumnCount); in Update()
1362 mnVerticalGap = round(gnPreferredVerticalPreviewGap); in Update()
1369 mnVerticalOffset = round(-(nHeight in Update()
1377 mnHorizontalOffset = round(-(nWidth in Update()
1603 mnHorizontalOffset = round(nOffset); in SetHorizontalOffset()
1619 mnVerticalOffset = round(nOffset); in SetVerticalOffset()
1935 sal_Int32 nLength (round(rsText.getLength() * nMaximalWidth / nTextWidth)); in GetFittingText()
1997 const sal_Int32 nWidth (round(aTextSize.Width + 2*gnHorizontalLabelPadding)); in CalculateLabelSize()