[cairo] Redoing SOURCE and CLEAR

Carl Worth cworth at redhat.com
Wed Aug 17 10:12:30 PDT 2005

On Wed, 17 Aug 2005 12:38:02 -0400 (EDT), Behdad Esfahbod wrote:
> Ok, then what's wrong with simply using OVER?  In other words,
> why should people use SOURCE at all?

What I want SOURCE for is to set the destination (within a shape) to a
known alpha value (other than 0.0 or 1.0) without respect to the
existing content of the destination.

OVER does not allow this.

And the current implementation doesn't make this easy since SOURCE has
the additional effect of clearing the destination in the area between
my shape and the clip.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050817/aec411ec/attachment.pgp

More information about the cairo mailing list