Bug #73614 [Asn->Sus]: Wrong draws filled arcs.

From: Date: Sun, 27 Nov 2016 15:56:31 +0000
Subject: Bug #73614 [Asn->Sus]: Wrong draws filled arcs.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-205662@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73614&edit=1 ID: 73614 Updated by: cmb@php.net Reported by: vrp76 at mail dot ru Summary: Wrong draws filled arcs. -Status: Assigned +Status: Suspended Type: Bug Package: GD related Operating System: Windows Vista HomePremium 32 SP2 PHP Version: 7.0.13 Assigned To: cmb Block user comment: N Private report: N New Comment: I can confirm the issue (however, the expected and actual results are swapped above). As this is a libgd issue, I've forwared to <https://github.com/libgd/libgd/issues/351>, and suspend this ticket until the bug is fixed in libgd. Previous Comments: ------------------------------------------------------------------------ [2016-11-27 08:15:24] vrp76 at mail dot ru Description: ------------ Wrong draws filled arcs. Test script: --------------- <?php $image = imagecreatetruecolor(500, 500); $white = imagecolorallocate($image, 0xFF, 0xFF, 0xFF); $navy = imagecolorallocate($image, 0x00, 0x00, 0x80); $red = imagecolorallocate($image, 0xFF, 0x00, 0x00); imagefilledarc($image, 250, 250, 500, 250, 0, 88, $white, IMG_ARC_PIE); imagefilledarc($image, 250, 250, 500, 250, 88, 91 , $navy, IMG_ARC_PIE); imagefilledarc($image, 250, 250, 500, 250, 91, 360 , $red, IMG_ARC_PIE); header('Content-type: image/png'); imagepng($image); imagedestroy($image); ?> Expected result: ---------------- https://www.dropbox.com/s/s1pby0zutsajbed/Pie1.png?dl=0 Actual result: -------------- https://www.dropbox.com/s/68l645wakutl3n0/Pie2.png?dl=0 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=73614&edit=1

« previous php.bugs (#205662) next »