I'm making a PHP image script that will create circles at a given radius.
I used:
<?php
imagefilledellipse ( $image, $cx, $cy, $w, $h, $color );
?>
but hate the rough edges it produces. So I was thinking of making or using a circle font that I will output using:
<?php
imagettftext ( $image, $size, $angle, $x, $y, $color, 'fontfile.ttf', $text );
?>
So that the font will produce a circle that has a smooth edge. My problem is making the "font size" match the "radius size".
Any ideas? Or maybe a PHP class that will produce a smooth edge on a circle would be great!
Thank you.