Hi Am Mi, 2004-02-18 um 20.37 schrieb Rostislav Kerey: > Hi all, > How I can to draw ellipse with Ming functions? > I have found how to draw circle but not ellipse :( > Help me please!!!
Not tested and just pseudo-code (from a mathematical view):
for ($degree = 0; $degree <= 360; $degree++) {
putPixel(x*cos($degree*pi/180), y*sin($degree*pi/180) );
}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

