Lines Matching refs:top
64 if (r->top < boundary->top)
65 r->top = boundary->top;
68 if (r->top + r->height > boundary->top + boundary->height)
69 r->top = boundary->top + boundary->height - r->height;
95 return r1->top == r2->top && r1->left == r2->left;
123 r->top = max(r1->top, r2->top);
125 bottom = min(r1->top + r1->height, r2->top + r2->height);
127 r->height = max(0, bottom - r->top);
149 r->left = r->top = r->width = r->height = 0;
154 r->top = ((r->top - from->top) * to->height) / from->height;
177 * IF the top side of r1 is below the bottom of r2 OR
178 * the top side of r2 is below the bottom of r1 THEN
181 if (r1->top >= r2->top + r2->height ||
182 r2->top >= r1->top + r1->height)
197 if (r1->left < r2->left || r1->top < r2->top)
201 if (r1->top + r1->height > r2->top + r2->height)