[cairo] [patch] corrections to clipping

Carl Worth cworth at east.isi.edu
Tue May 18 12:54:24 PDT 2004


On Tue, 18 May 2004 11:33:11 -0400, graydon hoare wrote:
> this patch corrects the surface-based clipping operations (when clipping 
> is not a simple rectangle driven down to the surface). it contains the 
> following improvements:
> 
>   - changes to coordinate evaluation, cribbed from this patch:
>     http://www.cs.umu.se/~c99drn/cairo-clip-fix.diff
> 
>   - clipping in the "show surface" function
> 
>   - clipping in the "show glyphs" / "show text" functions
> 
> with this patch, my test at:
> 
> http://www.off.net/~graydon/clipping-bug.c
> 
> works. ok to commit?

This one looks perfect. Well done, (and thanks for the elucidating comment).

-Carl




More information about the cairo mailing list