summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli_server.c
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2016-06-19 13:54:55 +0200
committerChristoph M. Becker <cmb@php.net>2016-06-20 15:17:52 +0200
commit4b4275059fd3d7f0840d238a92d8cd0cfe3292eb (patch)
tree45d3e8e3d82a612b66e6cce2198b8a6d3fb8082b /sapi/cli/php_cli_server.c
parent58797ab895235796e8363ecc8199ca5cb865b5c9 (diff)
downloadphp-git-4b4275059fd3d7f0840d238a92d8cd0cfe3292eb.tar.gz
Fix #64641: imagefilledpolygon doesn't draw horizontal line
As has been reported, 1-dimensional horizontal filled polygons are not drawn at all. That is caused by the scanline algorithm used for drawing filled polygons which skips the drawing of horizontal edges, because that is normally not necessary. If, however, the polygon consists of horizontal edges only, that obviously doesn't work, so we add a special case handling. That has also been fixed in libgd with <https://github.com/libgd/libgd/commit/f9f10fa9>.
Diffstat (limited to 'sapi/cli/php_cli_server.c')
0 files changed, 0 insertions, 0 deletions