diff options
author | M Joonas Pihlaja <jpihlaja@cc.helsinki.fi> | 2009-05-02 18:05:20 +0300 |
---|---|---|
committer | M Joonas Pihlaja <jpihlaja@cc.helsinki.fi> | 2009-07-10 19:06:48 +0300 |
commit | 9686331cb07a8f9018f28dc7d6d6e3726e289fda (patch) | |
tree | cdc147ff9a0b7d4a65d8b530b40555808c242ecc /test/trap-clip.ref.png | |
parent | fbd88db938bf3bb03934795da9b3d184c4f43608 (diff) |
[spans] Round rasterization grid pixel areas instead of truncating.
When converting a grid pixel area into the range [0,255] the
GRID_AREA_TO_ALPHA() macro would truncate extra bits off the result
rather than rounding. This could cause seams between abutting
collinear edges of separately rendered polygons even when the
coordinates of the abutting edges were the same.
Reported by Soeren Sandmann on the cairo mailing list:
http://lists.cairographics.org/archives/cairo/2009-May/017043.html
Diffstat (limited to 'test/trap-clip.ref.png')
-rw-r--r-- | test/trap-clip.ref.png | bin | 5829 -> 5820 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/test/trap-clip.ref.png b/test/trap-clip.ref.png Binary files differindex e8c26d32..832a2c6c 100644 --- a/test/trap-clip.ref.png +++ b/test/trap-clip.ref.png |