From:             anders at apt dot no
Operating system: Windows 2003 Advanced Server
PHP version:      4.3.11
PHP Bug Type:     GD related
Bug description:  Bug using imagefilledellipse at position 0 vertically

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 bug report at http://bugs.php.net/?id=32891&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=32891&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=32891&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=32891&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=32891&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=32891&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=32891&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=32891&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=32891&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=32891&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=32891&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=32891&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=32891&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=32891&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=32891&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=32891&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=32891&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=32891&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=32891&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=32891&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=32891&r=mysqlcfg

Reply via email to