📄 xsetgraphicsexposures.html
字号:
<HTML><HEAD><TITLE>Xlib Programming Manual: XSetGraphicsExposures</TITLE></HEAD><BODY><H1 ALIGN=center>XSetGraphicsExposures</H1><H2>Syntax</H2><!.IN "XSetGraphicsExposures" "" "@DEF@"><CODE><PRE>XSetGraphicsExposures(<B>display</B>, <B>gc</B>, <B>graphics_exposures</B>) <A HREF="../../display/opening.html#Display">Display</A> *<B>display</B>; <A HREF="../manipulating.html">GC</A> <B>gc</B>; Bool <B>graphics_exposures</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.<TR><TD> <B>graphics_exposures</B><TD> Specifies a Boolean value that indicates whether you want<B><A HREF="../../events/exposure/graphics-expose-and-no-expose.html">GraphicsExpose</A></B>and<B><A HREF="../../events/exposure/graphics-expose-and-no-expose.html">NoExpose</A></B>events to be reported when calling<B><A HREF="../../graphics/XCopyArea.html">XCopyArea()</A></B>and<B><A HREF="../../graphics/XCopyPlane.html">XCopyPlane()</A></B>with this GC.</TABLE><H2>Description</H2><B>XSetGraphicsExposures()</B>can generate<B>BadAlloc</B> ,<B>BadGC</B> ,and<B>BadValue</B> errors.<H2>Diagnostics</H2><TABLE><TR><TD><B>BadAlloc</B><TD> The server failed to allocate the requested source or server memory.<TR><TD><B>BadGC</B><TD>A value for a <B><A HREF="../GContext.html">GContext</A></B> argument does not name a defined <B><A HREF="../GContext.html">GContext</A></B>.<TR><TD><B>BadValue</B><TD> Some numeric value falls outside the range of values accepted by the request. Unless a specific range is specified for an argument, the full range defined by the argument's type is accepted. Any argument defined as a set of alternatives can generate this error.</TABLE><H2>See also</H2><B><A HREF="../../graphics/XCopyArea.html">XCopyArea()</A></B>,<B><A HREF="../XCreateGC.html">XCreateGC()</A></B>,<B><A HREF="XQueryBestSize.html">XQueryBestSize()</A></B>,<B><A HREF="XSetArcMode.html">XSetArcMode()</A></B>,<B><A HREF="XSetClipOrigin.html">XSetClipOrigin()</A></B>,<B><A HREF="XSetFillStyle.html">XSetFillStyle()</A></B>,<B><A HREF="XSetFont.html">XSetFont()</A></B>,<B><A HREF="XSetLineAttributes.html">XSetLineAttributes()</A></B>,<B><A HREF="XSetState.html">XSetState()</A></B>,<B><A HREF="XSetSubwindowMode.html">XSetSubwindowMode()</A></B>,<B><A HREF="XSetTile.html">XSetTile()</A></B>,"<A HREF="arc-subwindow-etc.html">Setting the Arc Mode, Subwindow Mode, and Graphics Exposure</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 + -