[cairo] Clip region problems

Owen Taylor otaylor at redhat.com
Mon May 2 13:48:36 PDT 2005

On Mon, 2005-05-02 at 16:28 -0400, Carl Worth wrote:
> On Wed, 27 Apr 2005 19:30:06 -0400, Owen Taylor wrote:
> > > [...] So perhaps a less restrictive version is to require creation
> > > and use of cairo_t's for one cairo-surface to be nested. This can
> > > be implemented with a simple stack of saved clip regions.
> > 
> > Here's an implementation of that.
> This looks pretty good.
> As we discussed in IRC, there's that very little bit of documentation
> about the nesting constraint still needed.


> The current patch isn't my favorite style, but fixing it will probably
> require copy-on-write pixman_region support and if we had that, then
> we'd have a complete solution to the original clip region problem,
> (for which this patch is intended to be an intermediate step).

Committed. (With one boolean parameter eliminated)


-------------- 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/20050502/9f66da2b/attachment.pgp

More information about the cairo mailing list