⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xsetclipmask.html

📁 linux图形界面x liberary手册
💻 HTML
字号:
<HTML><HEAD><TITLE>Xlib Programming Manual: XSetClipMask</TITLE></HEAD><BODY><H1 ALIGN=center>XSetClipMask</H1><H2>Syntax</H2><!.IN "XSetClipMask" "" "@DEF@"><CODE><PRE>XSetClipMask(<B>display</B>, <B>gc</B>, <B>pixmap</B>)      <A HREF="../../display/opening.html#Display">Display</A> *<B>display</B>;      <A HREF="../manipulating.html">GC</A> <B>gc</B>;      Pixmap <B>pixmap</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>pixmap</B><TD> Specifies the pixmap or<B>None</B> .</TABLE><H2>Description</H2>If the clip-mask is set to<B>None</B> ,the pixels are are always drawn (regardless of the clip-origin).<P><B>XSetClipMask()</B>can generate<B>BadAlloc</B>,<B>BadGC</B>,<B>BadMatch</B>,and<B>BadPixmap</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="../../my-own/gcontext.html">GContext</A></B> 	argument does not name a defined 	<B><A HREF="../../my-own/gcontext.html">GContext</A></B>.<TR><TD><B>BadMatch</B><TD>An<B><A HREF="../../window/create.html#InputClass">InputOnly</A></B>window is used as a Drawable.<TR><TD><B>BadMatch</B><TD>Some argument or pair of arguments has the correct type and range but fails    to match in some other way required by the request.      <TR><TD><B>BadPixmap</B><TD> A value for a Pixmap argument does not name a     defined Pixmap.</TABLE><H2>See also</H2><B><A HREF="../XCreateGC.html">XCreateGC()</A></B>,<B><A HREF="../../graphics/drawing/XDrawRectangle.html">XDrawRectangle()</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="XSetClipRectangles.html">XSetClipRectangles()</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="XSetTile.html">XSetTile()</A></B>,"<A HREF="clip-region.html">Setting the Clip Region</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 + -