SetBGPen

Sets the background pen of a GrafCon.

Synopsis

void SetBGPen (GrafCon *gc,Color c)

Description

This call sets the background 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 surrounding white space of text (and other graphical elements that use the background pen) is rendered in the new background color.

The color values produced by this call are different from the color values produced by MakeCLUTColorEntry().

Arguments

gc
Pointer to a GrafCon structure.
c
Value to be stored as the new background pen color.

Implementation

Folio call implemented in Graphics folio V20.

Associated Files

graphics.h, graphics.lib

See Also

MakeRGB15(), SetFGPen()