Lines Matching defs:rect
88 RECT rect;
94 rect.left = *x; rect.top = *y;
95 rect.right = *x + *width; rect.bottom = *y + *height;
100 AdjustWindowRect(&rect, WS_CLIPSIBLINGS | WS_CLIPCHILDREN |
106 if(rect.left < 0) {
109 *x = rect.left;
112 if(rect.top < 0) {
115 *y = rect.top;
118 *width = rect.right - rect.left; /* adjusted width */
119 *height = rect.bottom - rect.top; /* adjusted height */