Re: SWFShape HOW TO DRAW ELLIPSE????
| From: | Marco Schuler | Date: | Thu, 19 Feb 2004 08:17:51 +0000 |
| Subject: | Re: SWFShape HOW TO DRAW ELLIPSE???? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-178221@lists.php.net to get a copy of this message | ||
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) );
}