XSetPlaneMask

Syntax

XSetPlaneMask(display, gc, plane_mask)
      Display *display;
      GC gc;
      unsigned long plane_mask;

Arguments

display Specifies the connection to the X server.
gc Specifies the GC.
plane_mask Specifies the plane mask.

Description

XSetPlaneMask() can generate BadAlloc and BadGC errors.

Diagnostics

BadAlloc The server failed to allocate the requested source or server memory.
BadGC A value for a GContext argument does not name a defined GContext.

See also

XCreateGC(), XQueryBestSize(), XSetArcMode(), XSetBackground(), XSetClipOrigin(), XSetFillStyle(), XSetFont(), XSetForeground(), XSetFunction(), XSetLineAttributes(), XSetPlaneMask(), XSetState(), XSetTile(), "Setting the Foreground, Background, Function, or Plane Mask".
Christophe Tronche, ch@tronche.com