Lines Matching defs:rect
637 static GLboolean crServerIntersectRect(CRrecti *a, CRrecti *b, CRrecti *rect)639 CRASSERT(a && b && rect);641 rect->x1 = MAX(a->x1, b->x1);642 rect->x2 = MIN(a->x2, b->x2);643 rect->y1 = MAX(a->y1, b->y1);644 rect->y2 = MIN(a->y2, b->y2);646 return (rect->x2>rect->x1) && (rect->y2>rect->y1);