|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-05-01 08:03 UTC] pajoye@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 14:00:01 2025 UTC |
Description: ------------ While drawing an elliptic object positioned vertically at the top(0px) the second line is not drawn. I'm using the embedded GD library (2.0.28 compatible). Reproduce code: --------------- if ($im = @imagecreatetruecolor(100, 100)) { $intCol = imagecolorallocate($im, 0xFF, 0x02, 0xF0); imagefilledellipse($im, 50, 0, 50, 50, $intCol); header('Content-type: image/png'); imagepng($im); } else { echo 'Could not create truecolor image'; } Expected result: ---------------- I expect to see half a circle, with it's center at 50 x 0, like this: http://kunde.apt.no/aso/imagefilledellipse/imagefilledellipse_expected_result.png Actual result: -------------- Instead I get this circle, with one line missing: http://kunde.apt.no/aso/imagefilledellipse/imagefilledellipse_actual_result.png This image was created with the reproduce code: http://kunde.apt.no/aso/imagefilledellipse/imagefilledellipse_bug.php