Make classification consistent with rasterization
authorAndrea Canciani <ranma42@gmail.com>
Mon, 18 Oct 2010 20:21:52 +0000 (22:21 +0200)
committerAndrea Canciani <ranma42@gmail.com>
Wed, 20 Oct 2010 19:27:08 +0000 (21:27 +0200)
commit9b72fd1b857494ea928795c89a4f827e56fe26d3
treed553c7faf449ab7ef2d10fbfd5205eaa0a6c79ec
parent1d4f2d71facd5f2bbce74fbe3407ccea6cf4bea1
Make classification consistent with rasterization

Use the same computations to classify the gradient and to
rasterize it.
This improves the correctness of the classification by
avoiding integer division.
pixman/pixman-linear-gradient.c