Lines Matching refs:x1
150 if (a.x2 <= b.x1 || b.x2 <= a.x1 || a.y2 <= b.y1 || b.y2 <= a.y1) { in skin_rect_contains_rect()
154 if (b.x1 >= a.x1 && b.x2 <= a.x2 && b.y1 >= a.y1 && b.y2 <= a.y2) { in skin_rect_contains_rect()
170 if (a.x2 <= b.x1 || b.x2 <= a.x1 || a.y2 <= b.y1 || b.y2 <= a.y1) { in skin_rect_intersect()
175 r.x1 = (a.x1 > b.x1) ? a.x1 : b.x1; in skin_rect_intersect()
196 box->x1 = box->y1 = INT_MAX; in skin_box_minmax_init()
207 if (b->x1 < a->x1) a->x1 = b->x1; in skin_box_minmax_update()
216 if (box->x1 > box->x2) { in skin_box_minmax_to_rect()
227 box->x1 = r->pos.x; in skin_box_from_rect()
229 box->x2 = r->size.w + box->x1; in skin_box_from_rect()
236 r->pos.x = box->x1; in skin_box_to_rect()
238 r->size.w = box->x2 - box->x1; in skin_box_to_rect()