Graphics Context Functions

FunctionDescription
GrNewGC()Create a new graphics context
GrCopyGC()Copy a graphics context into a new graphics context
GrGetGCInfo()Retrieve graphics context settings
GrDestroyGC()Destroy a graphics context
GrSetGCForeground()Change the foreground color of a graphics context
GrSetGCBackground()Change the background color of a graphics context
GrSetGCUseBackground()Enables/disables background usage
GrSetGCMode()Set the drawing mode of a graphics context
GrSetGCFont()Select a font to draw with
GrGetGCTextSize()Calculate size of a text drawing
GrSetGCRegion()Set the clipping region for a graphics context