php-src/ext/gd
Christoph M. Becker 61cfa34e11 Fix #73614: gdImageFilledArc() doesn't properly draw pies
The fix for PHP bug 43828[1] changed the algorithm from drawing filled
pies from drawing multiple triangles to drawing a single polygon.  Due
to quirks of the filled polygon drawing algorithm, we had to filter out
extraneous vertices.  This lead, however, to a bug regarding displaced
starting and ending points near 90° and 270° degrees, which we fix by
reinserting these vertices if they had been removed.

This fix is a port of libgd/libgd@1406b1a.

[1] <https://bugs.php.net/bug.php?id=43828>
2019-01-16 20:10:04 +01:00
..
libgd Fix #73614: gdImageFilledArc() doesn't properly draw pies 2019-01-16 20:10:04 +01:00
tests Fix #73614: gdImageFilledArc() doesn't properly draw pies 2019-01-16 20:10:04 +01:00
config.m4 Trim trailing whitespace in source code files 2018-10-13 14:14:50 +02:00
config.w32 Trim trailing whitespace in source code files 2018-10-13 14:14:50 +02:00
CREDITS
gd_compat.c Sync leading and final newlines in source code files 2018-10-14 12:54:08 +02:00
gd_compat.h Revert removal of overflow2 use in gd.c 2013-05-06 10:00:45 +02:00
gd_ctx.c year++ 2018-01-02 12:55:14 +08:00
gd.c Trim trailing whitespace in source code files 2018-10-13 14:14:50 +02:00
gdcache.c Fixed condition check 2017-04-10 14:47:24 +08:00
gdcache.h
php_gd.h year++ 2018-01-02 12:55:14 +08:00