Lines Matching defs:rect

103     Rect rect;
106 rect.SetX(start.x - width / 2); // 2: half
107 rect.SetY(start.y);
108 rect.SetWidth(width);
109 rect.SetHeight(end.y - start.y + 1);
111 rect.SetX(end.x - width / 2); // 2: half
112 rect.SetY(end.y);
113 rect.SetWidth(width);
114 rect.SetHeight(start.y - end.y + 1);
117 DrawUtils::GetInstance()->DrawColorArea(gfxDstBuffer, rect, mask, color, opacity);
127 Rect rect;
130 rect.SetX(start.x);
131 rect.SetY(start.y - width / 2); // 2: half
132 rect.SetWidth(end.x - start.x + 1);
133 rect.SetHeight(width);
135 rect.SetX(end.x);
136 rect.SetY(end.y - width / 2); // 2: half
137 rect.SetWidth(start.x - end.x + 1);
138 rect.SetHeight(width);
141 DrawUtils::GetInstance()->DrawColorArea(gfxDstBuffer, rect, mask, color, opacity);
238 Rect rect;
292 rect.SetRect(MATH_MIN(x0Int, x1Int), y0Int, MATH_MAX(x0Int, x1Int), y1Int);
293 drawUtils->DrawColorArea(gfxDstBuffer, rect, mask, color, opacity);
294 rect.SetRect(MATH_MIN(x2Int, x3Int), y3Int, MATH_MAX(x2Int, x3Int), y2Int);
295 drawUtils->DrawColorArea(gfxDstBuffer, rect, mask, color, opacity);
335 rect.SetRect(edge0, sy, edge1, sy);
336 drawUtils->DrawColorArea(gfxDstBuffer, rect, mask, color, opacity);
390 rect.SetRect(x1Int, MATH_MIN(y0Int, y1Int), x0Int, MATH_MAX(y0Int, y1Int));
391 drawUtils->DrawColorArea(gfxDstBuffer, rect, mask, color, opacity);
392 rect.SetRect(x3Int, MATH_MIN(y2Int, y3Int), x2Int, MATH_MAX(y2Int, y3Int));
393 drawUtils->DrawColorArea(gfxDstBuffer, rect, mask, color, opacity);
433 rect.SetRect(sx, edge0, sx, edge1);
434 drawUtils->DrawColorArea(gfxDstBuffer, rect, mask, color, opacity);