📄 xfreegc.html
字号:
<HTML><HEAD><TITLE>Xlib Programming Manual: XFreeGC</TITLE></HEAD><BODY><H1 ALIGN=center>XFreeGC</H1><H2>Syntax</H2><!.IN "XFreeGC" "" "@DEF@"><CODE><PRE>XFreeGC(<B>display</B>, <B>gc</B>) <A HREF="../display/opening.html#Display">Display</A> *<B>display</B>; <A HREF="manipulating.html">GC</A> <B>gc</B>;</PRE></CODE><H2>Arguments</H2><TABLE><TR><TD> <B>display</B><TD> Specifies the connection to the X server.<TR><TD> <B>gc</B><TD> Specifies the GC.</TABLE><H2>Description</H2>The<B>XFreeGC()</B>function destroys the specified GC as well as all the associated storage.<P><B>XFreeGC()</B>can generate a<B>BadGC</B> error.<H2>Diagnostics</H2><TABLE><TR><TD><B>BadGC</B><TD>A value for a <B><A HREF="../my-own/gcontext.html">GContext</A></B> argument does not name a defined <B><A HREF="../my-own/gcontext.html">GContext</A></B>.</TABLE><H2>See also</H2><B><A HREF="../display/display-macros.html#AllPlanes">AllPlanes()</A></B>,<B><A HREF="XChangeGC.html">XChangeGC()</A></B>, <B><A HREF="../graphics/XCopyArea.html">XCopyArea()</A></B>,<B><A HREF="XCopyGC.html">XCopyGC()</A></B>, <B><A HREF="XCreateGC.html">XCreateGC()</A></B>,<B><A HREF="../utilities/regions/XCreateRegion.html">XCreateRegion()</A></B>,<B><A HREF="../graphics/drawing/XDrawArc.html">XDrawArc()</A></B>,<B><A HREF="../graphics/drawing/XDrawLine.html">XDrawLine()</A></B>,<B><A HREF="../graphics/drawing/XDrawRectangle.html">XDrawRectangle()</A></B>,<B><A HREF="../graphics/drawing-text/XDrawText.html">XDrawText()</A></B>,<B><A HREF="../graphics/filling-areas/XFillRectangle.html">XFillRectangle()</A></B>,<B><A HREF="XGContextFromGC.html">XGContextFromGC()</A></B>,<B><A HREF="XGetGCValues.html">XGetGCValues()</A></B>, <B><A HREF="convenience-functions/XQueryBestSize.html">XQueryBestSize()</A></B>,<B><A HREF="convenience-functions/XSetArcMode.html">XSetArcMode()</A></B>,<B><A HREF="convenience-functions/XSetClipOrigin.html">XSetClipOrigin()</A></B>,"<A HREF="manipulating.html">Manipulating Graphics Context/State</A>".<HR><ADDRESS><A HREF="http://tronche.com/">Christophe Tronche</A>, <A HREF="mailto:ch.tronche@computer.org">ch.tronche@computer.org</A></ADDRESS></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -