PHP script for arc thickness
| From: | Austin Ekwebelam | Date: | Fri, 09 Sep 2011 09:05:13 +0000 |
| Subject: | PHP script for arc thickness | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-12162@lists.php.net to get a copy of this message | ||
Hi,
I’ve recently written a PHP script that (hopefully) solves the thickness
problems for imagearc/imagefilledarc. It
works with normal/alpha colours and it supports thicknesses for arcs, chords,
segments, ellipses, circles, crescents and any rotation in the X-Y plane. It also works with small
and large shapes (I’ve
tested from 40x40 up to 1850x1600 shapes successfully).
I want to make it available for others to use/try/criticise. However the program is about 1000
lines long
(42KB) without comments. I’ve removed as
much as I can while still making the code somewhat intelligible.
I don’t want to risk your wrath for posting something that large on php.net without
permission. Can you please advise if/how
I can post it on your website?
Regards,
Austin Ekwebelam