ID:               32891
 Updated by:       [EMAIL PROTECTED]
 Reported By:      anders at apt dot no
-Status:           Verified
+Status:           Closed
 Bug Type:         GD related
 Operating System: *
 PHP Version:      4CVS, 5.*CVS (2005-04-30)
 Assigned To:      pajoye
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

Fixed in php4, 5.0 and 5.

Thanks for the test case

--Pierre


Previous Comments:
------------------------------------------------------------------------

[2005-04-29 14:04:15] anders at apt dot no

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


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=32891&edit=1

Reply via email to