XFreeGC

Syntax

XFreeGC(display, gc)
      Display *display;
      GC gc;

Arguments

display Specifies the connection to the X server.
gc Specifies the GC.

Description

The XFreeGC() function destroys the specified GC as well as all the associated storage.

XFreeGC() can generate a BadGC error.

Diagnostics

BadGC A value for a GContext argument does not name a defined GContext.

See also

AllPlanes(), XChangeGC(), XCopyArea(), XCopyGC(), XCreateGC(), XCreateRegion(), XDrawArc(), XDrawLine(), XDrawRectangle(), XDrawText(), XFillRectangle(), XGContextFromGC(), XGetGCValues(), XQueryBestSize(), XSetArcMode(), XSetClipOrigin(), "Manipulating Graphics Context/State".
Christophe Tronche, [email protected]