XFreeGC() XFreeGC()
Name
XFreeGC - free a graphics context.
Synopsis
XFreeGC(display, gc)
Display *display;
GC gc;
Arguments
display Specifies a connection to an X server; returned from XOpenDisplay().
gc Specifies the graphics context to be freed.
Description
XFreeGC() frees all memory associated with a graphics context, and removes the GC from the server and display hardware.
For more information, see Volume One, Chapter 5, The Graphics Context.
Errors
BadGC
See Also
XDefaultGC(), XChangeGC(), XCopyGC(), XCreateGC(), XGContextFromGC(), XSetArcMode(), XSetBackground(), XSetClipMask(), XSetClipOrigin(),
XSetClipRectangles(), XSetDashes(), XSetFillRule(), XSetFillStyle(), XSetForeground(), XSetFunction(), XSetGraphicsExposures(), XSetLineAt-
tributes(), XSetPlaneMask(), XSetState(), XSetStipple(), XSetSubwindowMode(), XSetTSOrigin().
Xlib - Graphics Context XFreeGC()