[cairo] Clip region problems

Keith Packard keithp at keithp.com
Thu May 19 11:09:11 PDT 2005


On Wed, 2005-05-18 at 15:49 -0400, Owen Taylor wrote:

> I think this is clearly the semantic we want. The problem is that 
> libpixman and RENDER don't work that way. 

RENDER can work this way; you just need to create another Picture
referencin the same drawable.  There are other Picture attributes
modified when using a Drawable as a pattern.

To solve this, I just need to create a new cairo_surface_t that
references the same pixels for each pattern.  This seems like an easy
thing to do; I'll try that today.

-keith


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050519/251533c7/attachment.pgp


More information about the cairo mailing list