Lines Matching refs:rect

115     int32_t width, height;              /* w & h of visible rect of bottom window */
259 bbox.x = (short) x; /* init X rect for bounding box */
437 int32_t rect;
440 for (rect = 0;
441 rect < vis_reg->numRects;
442 rect++)
445 Intersect bbox with visible part of region giving src rect & output
447 Similar for height. Offset src rect so x,y are relative to
448 origin of win, not the root-relative visible rect of win.
450 srcRect_width = MIN( vis_reg->rects[rect].x2, bbox.width + bbox.x)
451 - MAX( vis_reg->rects[rect].x1, bbox.x);
453 srcRect_height = MIN( vis_reg->rects[rect].y2, bbox.height + bbox.y)
454 - MAX( vis_reg->rects[rect].y1, bbox.y);
456 diff = bbox.x - vis_reg->rects[rect].x1;
457 srcRect_x = MAX( 0, diff) + (vis_reg->rects[rect].x1 - reg->x_rootrel - reg->border);
459 diff = bbox.y - vis_reg->rects[rect].y1;
460 srcRect_y = MAX( 0, diff) + (vis_reg->rects[rect].y1 - reg->y_rootrel - reg->border);
511 bbox.x = (short) x; /* init X rect for bounding box */
708 of rect we clip all children by. This is our own clip rect (pclip)
710 child loop, we figure the clip rect for each child by adding in
900 XRectangle rect;
904 rect.x = (short)x;
905 rect.y = (short)y;
906 rect.width = (unsigned short)width;
907 rect.height = (unsigned short)height;
908 XUnionRectWithRegion( &rect, rect_region, rect_region);
925 XRectangle rect;
927 rect.x = (short) x;
928 rect.y = (short) y;
929 rect.width = (unsigned short) width;
930 rect.height = (unsigned short) height;
931 XUnionRectWithRegion( &rect, image_region->visible_region,