GrXorRegion()

Name

GrXorRegion() -- Form a region form the XOR two regions

Synopsis

void GrXorRegion ( 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 dst_rgn = src_rgn1 XOR src_rgn2.

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(), GrIntersectRegion(), GrDestroyRegion(),