note 7832 added to ImageArc
| From: | timothyhouck at yahoo dot com | Date: | Wed, 16 Aug 2000 19:58:36 +0000 |
| Subject: | note 7832 added to ImageArc | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1980@lists.php.net to get a copy of this message | ||
Per the previous two posts regarding filled arcs, try something like this:
$diameter = 50;
imagearc($image, 25, 25, $diameter, $diameter, $start, $end, $color);
while($diameter > 0)
{
imagearc($image, 25, 25, $diameter, $diameter, $start, $start + 1, $color);
imagearc($image, 25, 25, $diameter, $diameter, $end - 1, $end, $color);
$diameter--;
}
...well you get the point. It's a kludge, and *very* slow, but it's free.
http://www.php.net/manual/function.imagearc.php