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/radial-gradient.pdf.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/radial-gradient.pdf.ref.png')
-rw-r--r-- | test/radial-gradient.pdf.ref.png | bin | 79490 -> 79612 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/test/radial-gradient.pdf.ref.png b/test/radial-gradient.pdf.ref.png Binary files differindex 18368c14..dbb7312a 100644 --- a/test/radial-gradient.pdf.ref.png +++ b/test/radial-gradient.pdf.ref.png |