GrSetGCUseBackground

Name

GrSetGCUseBackground -- Set whether or not to draw the background color

Synopsis

void GrSetGCUseBackground (
  GR_GC_ID gc,
  GR_BOOL flag
);
     

Parameters

gc

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

flag

A boolean value indicating the graphic context background drawing mode.

Description

The GrSetGCUseBackground function sets the drawing mode for bitmaps and text. If you set flag to a nonzero value, the server will draw the graphics context's background color when drawing bitmaps and text with the GrBitmap, GrArea, and GrText functions.