Re: [GD-DEVEL] Filling polygons with holes
| From: | Pierre Joye | Date: | Thu, 02 Oct 2008 11:55:43 +0000 |
| Subject: | Re: [GD-DEVEL] Filling polygons with holes | ||
| References: | 1 2 | Groups: | php.gd.devel |
| Request: | Send a blank email to php-gd-devel+get-476@lists.php.net to get a copy of this message | ||
hi,
On Tue, Sep 30, 2008 at 10:09 PM, Brian Peschel <brianp@occinc.com> wrote:
> Is there an easy way to do filled polygons with holes? Think a donut where
> I want to fill the donut, but not the hole.
>
> I suppose I could do something where I am create an png image just of the
> polygon with transparent color for the hole and outside the polygon....
Do you mean something like that:
http://pierre.libgd.org/polygons/
Cheers,
--
Pierre
http://blog.thepimp.net | http://www.libgd.org