GrSetGCMode

Name

GrSetGCMode -- Set the drawing mode for a graphics context

Synopsis

void GrSetGCMode (
  GR_GC_ID gc,
  GR_MODE  mode
);
     

Parameters

gc

The graphics context ID of the graphics context for which you want to change the drawing mode.

mode

The new drawing mode for the graphics context. The mode parameter has the following acceptable values: GR_MODE_SET, GR_MODE_XOR, GR_MODE_AND, GR_MODE_OR.

Description

The GrSetGCMode function sets the foreground color of the specified graphics context.