[cairo] [patch] corrections to clipping

graydon hoare graydon at redhat.com
Tue May 18 08:33:11 PDT 2004


hi,

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?

-graydon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cairo-clipping-glyphs-and-surfaces.patch
Type: text/x-patch
Size: 11254 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20040518/1b8d9b2e/cairo-clipping-glyphs-and-surfaces.bin


More information about the cairo mailing list