GrGetGCInfo

Name

GrGetGCInfo -- Retrieve a graphics context's settings

Synopsis

void GrGetGCInfo (
  GR_GC_ID     gc,
  GR_GC_INFO * gcip
);

Parameters

gc

The graphics context ID number.

gcip

A pointer to a GR_GC_INFO structure that will store the requested graphics context information.

Description

The GrGetGCInfo function retrieves information about the specified graphics context, including the graphics context id, the current font, the foreground color, and the background colors. If the gc graphics context does not exist, the GrGetGCInfo sets the returned ID to 0 and the other GR_GC_INFO information is undefined.