Thanks for the information. Is there any link which shows an example of how to use this APIs for example, if I want to create a rounded-rect window. <br>I see we can only combine 2 regions [by XShapeCombineRegion] which is again a rectangle <br>
<br>as the Region structure says <br>typedef struct _XRegion {<br> long size;<br> long numRects;<br> Box *rects; where Box is {x1, x2, y1, y2};<br> Box extents; //not sure what this is for<br>}<br><br><div class="gmail_quote">
On Mon, Jan 24, 2011 at 1:36 PM, Alan Coopersmith <span dir="ltr"><<a href="mailto:alan.coopersmith@oracle.com">alan.coopersmith@oracle.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On 01/23/11 11:13 PM, Prasanta Sadhukhan wrote:<br>
> Hi<br>
><br>
> I was wondering if X11 has any way of supporting/creating a non-rectangular window?<br>
<br>
</div><a href="http://www.x.org/releases/X11R7.6/doc/libXext/shapelib.html" target="_blank">http://www.x.org/releases/X11R7.6/doc/libXext/shapelib.html</a> or<br>
<a href="http://www.x.org/releases/X11R7.6/doc/libXext/shapelib.pdf" target="_blank">http://www.x.org/releases/X11R7.6/doc/libXext/shapelib.pdf</a> if you prefer PDF.<br>
<font color="#888888"><br>
--<br>
-Alan Coopersmith- <a href="mailto:alan.coopersmith@oracle.com">alan.coopersmith@oracle.com</a><br>
Oracle Solaris Platform Engineering: X Window System<br>
<br>
</font></blockquote></div><br>