XSetPlaneMask() XSetPlaneMask()
Name
XSetPlaneMask - set the plane mask in a graphics context.
Synopsis
XSetPlaneMask(display, gc, plane_mask)
Display *display;
GC gc;
unsigned long plane_mask;
Arguments
display Specifies a connection to an X server; returned from XOpenDisplay().
gc Specifies the graphics context.
plane_mask
Specifies the plane mask. You can use the macro AllPlanes() if desired.
Description
XSetPlaneMask() sets the plane_mask component of the specified GC. The plane_mask determines which planes of the destination drawable are
affected by a graphics request.
For more information, see Volume One, Chapter 5, The Graphics Context.
Errors
BadAlloc
BadGC
See Also
XDefaultGC(), XChangeGC(), XCopyGC(), XCreateGC(), XFreeGC(), XGContextFromGC(), XSetArcMode(), XSetBackground(), XSetClipMask(), XSetCli-
pOrigin(), XSetClipRectangles(), XSetDashes(), XSetFillRule(), XSetFillStyle(), XSetForeground(), XSetFunction(), XSetGraphicsExposures(),
XSetLineAttributes(), XSetState(), XSetStipple(), XSetSubwindowMode(), XSetTSOrigin().
Xlib - Graphics Context XSetPlaneMask()