[cairo] pixman patch: rasterize traps that extend outside of the image bounds correctly

Vladimir Vukicevic vladimir at pobox.com
Mon Aug 6 16:23:09 PDT 2007

Traps that extend outside of the image bounds are rasterized incorrectly 
currently; the problem is a signed vs. unsigned comparison that got 
introduced when a width parameter went from int -> uint.  This patch 
puts it back to int (since it's stored as an int in the bits structure 
to begin with), and also fixes a similar warning in the memset wrapper 
(though cairo will never hit that I don't think, since it's only used in 
the pixel accessors case).

Let me know if this looks ok to commit.

     - Vlad
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pixman-edge-rasterize.patch
Url: http://lists.cairographics.org/archives/cairo/attachments/20070806/25a6ad48/attachment.ksh 

More information about the cairo mailing list