Lines Matching defs:rect
175 RECT rect;
176 ::GetClientRect(GetHWnd(), &rect);
178 if (::PtInRect(&rect, p)) {
207 RECT rect = drawInfo.rcItem;
216 ::FillRect(hDC, &rect, GetBackgroundBrush());
218 ::DrawEdge(hDC, &rect, edgeType, BF_RECT | BF_SOFT);
230 int x = (rect.left + rect.right-size.cx) / 2 + adjust;
231 int y = (rect.top + rect.bottom-size.cy) / 2 + adjust;
239 /* Draw focus rect */
243 VERIFY(::CopyRect(&focusRect, &rect));
249 DoCallback("handlePaint", "(IIII)V", rect.left, rect.top,
250 rect.right-rect.left, rect.bottom-rect.top);