Lines Matching refs:ROUND
53 #define ROUND(x) ((sal_uInt16) ((x) + .5)) macro
130 long lDispW = ROUND(aItem.lLeft + aItem.lHDist); in Paint()
131 long lDispH = ROUND(aItem.lUpper + aItem.lVDist); in Paint()
133 lDispW += ROUND(aItem.lLeft ); in Paint()
135 lDispW += ROUND(aItem.lHDist / 10); in Paint()
137 lDispH += ROUND(aItem.lUpper); in Paint()
139 lDispH += ROUND(aItem.lVDist / 10); in Paint()
147 long lOutlineW = ROUND(f * lDispW); in Paint()
148 long lOutlineH = ROUND(f * lDispH); in Paint()
152 long lX1 = ROUND(lX0 + f * aItem.lLeft ); in Paint()
153 long lY1 = ROUND(lY0 + f * aItem.lUpper); in Paint()
154 long lX2 = ROUND(lX0 + f * (aItem.lLeft + aItem.lWidth )); in Paint()
155 long lY2 = ROUND(lY0 + f * (aItem.lUpper + aItem.lHeight)); in Paint()
156 long lX3 = ROUND(lX0 + f * (aItem.lLeft + aItem.lHDist )); in Paint()
157 long lY3 = ROUND(lY0 + f * (aItem.lUpper + aItem.lVDist )); in Paint()
177 Point(ROUND(lX0 + f * (aItem.lLeft + nCol * aItem.lHDist)), in Paint()
178 ROUND(lY0 + f * (aItem.lUpper + nRow * aItem.lVDist))), in Paint()
179 Size (ROUND(f * aItem.lWidth ), in Paint()
180 ROUND(f * aItem.lHeight)))); in Paint()
196 …DrawText(Point(lX0 - 10 - lUpperWidth, ROUND(lY0 + f * aItem.lUpper / 2 - lXHeight / 2)), aUpperSt… in Paint()
224 …DrawText(Point(lX0 - 10 - lVDistWidth, ROUND(lY1 + f * aItem.lVDist / 2 - lXHeight / 2)), aVDistSt… in Paint()