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/fill-degenerate-sort-order.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/fill-degenerate-sort-order.ref.png')
| -rw-r--r-- | test/fill-degenerate-sort-order.ref.png | bin | 2406 -> 2399 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/test/fill-degenerate-sort-order.ref.png b/test/fill-degenerate-sort-order.ref.png Binary files differindex 3a95c257..fa92ad46 100644 --- a/test/fill-degenerate-sort-order.ref.png +++ b/test/fill-degenerate-sort-order.ref.png |
