commit | 20186d1be6415d1bd7cb79ac56f1b806c26b677c | [log] [tgz] |
---|---|---|
author | Alexei Podtelezhnikov <apodtele@gmail.com> | Fri Sep 11 23:47:54 2020 -0400 |
committer | Alexei Podtelezhnikov <apodtele@gmail.com> | Fri Sep 11 23:47:54 2020 -0400 |
tree | c0f98e458426f878d6ae75a35589f9383c01389b | |
parent | c3721642f1d373f363d02081a94f24984960484e [diff] |
[raster] Improve the second pass (#58373). Besides dropout control the second horizontal sweep is supposed to clean up straight horizontal edges that are mishandled by the first vertical sweep when a line passes through pixel centers. This line would present as perfectly aligned span edges in the second sweep. * src/raster/ftraster.c (Horizontal_Sweep_Span): Replace the old implementation with a better one focusing on aligned span edges only.