supporting non-rectangular windows
Prasanta Sadhukhan
psadhukhan at gmail.com
Mon Jan 24 03:34:42 PST 2011
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.
I see we can only combine 2 regions [by XShapeCombineRegion] which is again
a rectangle
as the Region structure says
typedef struct _XRegion {
long size;
long numRects;
Box *rects; where Box is {x1, x2, y1, y2};
Box extents; //not sure what this is for
}
On Mon, Jan 24, 2011 at 1:36 PM, Alan Coopersmith <
alan.coopersmith at oracle.com> wrote:
> On 01/23/11 11:13 PM, Prasanta Sadhukhan wrote:
> > Hi
> >
> > I was wondering if X11 has any way of supporting/creating a
> non-rectangular window?
>
> http://www.x.org/releases/X11R7.6/doc/libXext/shapelib.html or
> http://www.x.org/releases/X11R7.6/doc/libXext/shapelib.pdf if you prefer
> PDF.
>
> --
> -Alan Coopersmith- alan.coopersmith at oracle.com
> Oracle Solaris Platform Engineering: X Window System
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110124/2e517561/attachment.html>
More information about the xorg-devel
mailing list