|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-11-27 13:34 UTC] cmb@php.net
-Assigned To:
+Assigned To: cmb
[2016-11-27 15:56 UTC] cmb@php.net
-Status: Assigned
+Status: Suspended
[2016-11-27 15:56 UTC] cmb@php.net
[2017-08-16 16:30 UTC] cmb@php.net
-Assigned To: cmb
+Assigned To:
[2019-01-16 18:41 UTC] cmb@php.net
-Summary: Wrong draws filled arcs.
+Summary: gdImageFilledArc() doesn't properly draw pies
-Status: Suspended
+Status: Analyzed
-Assigned To:
+Assigned To: cmb
[2019-01-16 18:41 UTC] cmb@php.net
[2019-01-16 19:24 UTC] cmb@php.net
[2019-01-16 19:24 UTC] cmb@php.net
-Status: Analyzed
+Status: Closed
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 01:00:01 2025 UTC |
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