7.2.1 Setting the Foreground, Background, Function, or Plane Mask

To set the foreground, background, plane mask, and function components for a given GC, use XSetState().

To set the foreground of a given GC, use XSetForeground().

To set the background of a given GC, use XSetBackground().

To set the display function in a given GC, use XSetFunction().

To set the plane mask of a given GC, use XSetPlaneMask().

Next: Setting the Line Attributes and Dashes

Christophe Tronche, ch@tronche.com