Region Functions

FunctionDescription
GrNewRegion()Create a new region
GrNewPolygonRegion()Create a polygon region
GrDestroyRegion()Destroy a region
GrUnionRectWithRegion()Form union of rectangle and region
GrUnionRegion()Form a region from the union of two other regions
GrSubtractRegion()Form a region from the difference of two regions
GrXorRegion()Form a region form the XOR two regions
GrIntersectRegion()Form a region from the intersection of two regions
GrPointInRegion()Test for point in region
GrRectInRegion()Test for rectangle in region
GrEmptyRegion()Test for empty region
GrEqualRegion()Test two regions for equality
GrOffsetRegion()Offset a region
GrGetRegionBox()Get a region's bounding rectangle