XSetState(), XSetFunction(), XSetPlanemask(), XSetForeground(), XSetBackground() - GC convenience routines
XSetState (Display *display, GC gc,
unsigned long foreground,
unsigned long background,
int function, unsigned long plane_mask)
XSetFunction (Display *display, GC gc, int function)
XSetPlaneMask (Display *display, GC gc,
unsigned long plane_mask)
XSetForeground (Display *display, GC gc,
unsigned long foreground)
XSetBackground (Display *display, GC gc,
unsigned long background)
The XSetState(3) function sets the foreground, background, plane mask, and function components for the specified GC.
XSetState(3) can generate BadAlloc, BadGC, and BadValue errors.
XSetFunction(3) sets a specified value in the specified GC.
XSetFunction(3) can generate BadAlloc, BadGC, and BadValue errors.
The XSetPlaneMask(3) function sets the plane mask in the specified GC.
XSetPlaneMask(3) can generate BadAlloc and BadGC errors.
The XSetForeground(3) function sets the foreground in the specified GC.
XSetForeground(3) can generate BadAlloc and BadGC errors.
The XSetBackground(3) function sets the background in the specified GC.
XSetBackground(3) can generate BadAlloc and BadGC errors.
XSetFont()
XSetTile()
Xlib