XShape example?

Russell Shaw rjshaw at netspace.net.au
Sat Oct 29 00:41:29 PDT 2005


Matt Garman wrote:
> On Sat, Oct 29, 2005 at 01:38:59PM +0900, Carsten Haitzler wrote:
> 
>>On Fri, 28 Oct 2005 23:20:17 -0500 Matt Garman
>><garman at raw-sewage.net> babbled:
>>
>>>eyes looks as though it's transparent).  [BTW, I know it's not true
>>>transparency, but as long as it *looks* transparent, that's good
>>>enough for me.]
>>
>>it is true transparency. no pixels exist in the "shaped out" areas
>>- you see right through it - events go through the holes too. its
>>the oldes form of transparency x has - but effectively only
>>provides 1 bit of accuracy :) (i wont go into how its implemented
>>with rectangle lists) :)
> 
> 
> Ahh, now that I have a working example, I see that it is in fact
> true transparency.
> 
> When you say that this is the "oldest form of transparency x has",
> does that imply there are *better* ways of doing transparency?
> 
> As a general disclaimer, I'm just getting into Xlib programming, so
> it's safe to assume total ignorance on my part!

You should get the Xlib Programming Manual, Xlib Reference Manual,
and others in the set if interesting. ISBN: 1-56592-002-3

It explains all about colour-planes.



More information about the xorg mailing list