GrIntersectRegion()

Name

GrIntersectRegion() -- Form a region from the intersection of two regions

Synopsis

void GrIntersectRegion ( GR_REGION_ID dst_rgn , GR_REGION_ID src_rgn1 , GR_REGION_ID src_rgn2 );

Description

This function creates a region from the two specified source regions and places the resulting region in the destination region. The resulting region is the intersection of the two source regions.

Parameters

TypeNameDescription
GR_REGION_IDdst_rgnThe ID of the destination region.
GR_REGION_IDsrc_rgn1The ID of the the first of two source regions.
GR_REGION_IDsrc_rgn2The ID of the second of two source regions.

See Also

GrUnionRegion(), GrSubtractRegion(), GrXorRegion(), GrDestroyRegion(),