GrSetGCRegion

Name

GrSetGCRegion -- Set the clip region to use with a graphics context

Synopsis

void GrSetGCRegion (
  GR_GC_ID     gc,
  GR_REGION_ID region
);
     

Parameters

gc

The graphics context ID of the graphics context for which you want to set a clip region.

region

The ID of the clip region to use with this graphics context.

Description

The GrSetGCRegion function sets the clip region to use with the specified graphics context. Any drawing functions will only draw to the screen if the drawing takes place within an area described by the region clip region.