On Tue, Dec 11, 2001 at 06:42:01PM -0800, Keith Packard wrote:
>> What is the method that involves the least amount of X calls, or at
>> least is the fastest possible, method to repaint my window?
>
>You can do this in one call with the Render extension -- create a 1 bit 
>mask that has 0 where the image is and then use XRenderComposite with that 
>as the alpha channel.  As the alpha mask is a separate drawable, you can 
>adjust the location of the object by changing where the zero bits are in 
>that mask.
>
>No need for subwindows; just a simple mask.

Thanks.  I'm reading the white papers on your homepage right now.

Jonathan

Attachment: msg02380/pgp00000.pgp
Description: PGP signature

Reply via email to