Sets the foreground pen of a GrafCon.
void SetFGPen (GrafCon *gc,Color c)
This call sets the foreground pen of the specified GrafCon to the specified color. The color value is a coded 15-bit RGB format value, with each 5-bit value acting as an index into the CLUT color registers. After this call, the imagery part of the text (and other graphics elements that use the foreground pen, including line drawing, rectangle and ellipse rendering) is rendered in the new foreground color.
The color values produced are different from the color values produced by MakeCLUTColorEntry()
.
Folio call implemented in Graphics folio V20.
graphics.h, graphics.lib
MakeRGB15
(), SetBGPen()