GrSetGCRegion()

Name

GrSetGCRegion() -- Set the clipping region for a graphics context

Synopsis

void GrSetGCRegion ( GR_GC_ID gc , GR_REGION_ID region );

Description

This function sets the clipping region for the specified graphics context to the specified region. Subsequent drawing functions will not draw beyond the limits of the clipping region.

Parameters

TypeNameDescription
GR_GC_IDgcThe ID of the graphics context to set the clipping region of.
GR_REGION_IDregionThe ID of the region to use, 0 to set no clipping region.

See Also

GrNewRegion(), GrNewGC(), GrGetGCInfo().