Lines Matching refs:rBox

37 sal_Int32 Right (const awt::Rectangle& rBox)  in Right()  argument
39 return rBox.X + rBox.Width - 1; in Right()
42 sal_Int32 Bottom (const awt::Rectangle& rBox) in Bottom() argument
44 return rBox.Y + rBox.Height - 1; in Bottom()
89 const geometry::RealRectangle2D& rBox) in ConvertRectangle() argument
91 const sal_Int32 nLeft (Floor(rBox.X1)); in ConvertRectangle()
92 const sal_Int32 nTop (Floor(rBox.Y1)); in ConvertRectangle()
93 const sal_Int32 nRight (Ceil(rBox.X2)); in ConvertRectangle()
94 const sal_Int32 nBottom (Ceil(rBox.Y2)); in ConvertRectangle()
102 const geometry::RealRectangle2D& rBox) in ConvertRectangleWithConstantSize() argument
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()
115 const css::awt::Rectangle& rBox) in ConvertRectangle() argument
118 rBox.X, in ConvertRectangle()
119 rBox.Y, in ConvertRectangle()
120 rBox.X + rBox.Width, in ConvertRectangle()
121 rBox.Y + rBox.Height); in ConvertRectangle()
128 const css::awt::Rectangle& rBox, in TranslateRectangle() argument
132 return awt::Rectangle(rBox.X + nXOffset, rBox.Y + nYOffset, rBox.Width, rBox.Height); in TranslateRectangle()
173 const css::geometry::RealRectangle2D& rBox, in IsInside() argument
176 return rBox.X1 <= rPoint.X in IsInside()
177 && rBox.Y1 <= rPoint.Y in IsInside()
178 && rBox.X2 >= rPoint.X in IsInside()
179 && rBox.Y2 >= rPoint.Y; in IsInside()
251 const awt::Rectangle& rBox, in CreatePolygon() argument
259 aPoints[0][0] = geometry::RealPoint2D(rBox.X, rBox.Y); in CreatePolygon()
260 aPoints[0][1] = geometry::RealPoint2D(rBox.X, rBox.Y+rBox.Height); in CreatePolygon()
261 aPoints[0][2] = geometry::RealPoint2D(rBox.X+rBox.Width, rBox.Y+rBox.Height); in CreatePolygon()
262 aPoints[0][3] = geometry::RealPoint2D(rBox.X+rBox.Width, rBox.Y); in CreatePolygon()
276 const geometry::RealRectangle2D& rBox, in CreatePolygon() argument
284 aPoints[0][0] = geometry::RealPoint2D(rBox.X1, rBox.Y1); in CreatePolygon()
285 aPoints[0][1] = geometry::RealPoint2D(rBox.X1, rBox.Y2); in CreatePolygon()
286 aPoints[0][2] = geometry::RealPoint2D(rBox.X2, rBox.Y2); in CreatePolygon()
287 aPoints[0][3] = geometry::RealPoint2D(rBox.X2, rBox.Y1); in CreatePolygon()
311 const awt::Rectangle& rBox (rBoxes[nIndex]); in CreatePolygon() local
313 aPoints[nIndex][0] = geometry::RealPoint2D(rBox.X, rBox.Y); in CreatePolygon()
314 aPoints[nIndex][1] = geometry::RealPoint2D(rBox.X, rBox.Y+rBox.Height); in CreatePolygon()
315 aPoints[nIndex][2] = geometry::RealPoint2D(rBox.X+rBox.Width, rBox.Y+rBox.Height); in CreatePolygon()
316 aPoints[nIndex][3] = geometry::RealPoint2D(rBox.X+rBox.Width, rBox.Y); in CreatePolygon()