Home | History | Annotate | Download | only in src

Lines Matching refs:REGION

404     REGION *reg)
477 Region
483 Region region;
500 if (! (region = XCreateRegion())) return (Region) NULL;
514 region->extents.x1 = min(pts[0].x, pts[2].x);
515 region->extents.y1 = min(pts[0].y, pts[2].y);
516 region->extents.x2 = max(pts[0].x, pts[2].x);
517 region->extents.y2 = max(pts[0].y, pts[2].y);
518 if ((region->extents.x1 != region->extents.x2) &&
519 (region->extents.y1 != region->extents.y2)) {
520 region->numRects = 1;
521 *(region->rects) = region->extents;
523 return(region);
526 if (Count < 2) return region;
529 XDestroyRegion(region);
530 return (Region) NULL;
633 (void) PtsToRegion(numFullPtBlocks, iPts, &FirstPtBlock, region);
640 return(region);