Re: [GD-DEVEL] Filling polygons with holes
[email protected] ("Pierre Joye") Thu, 2 Oct 2008 13:55:43 +0200
| Newsgroups | php.gd.devel |
|---|---|
| Message-ID | <[email protected]> |
hi, On Tue, Sep 30, 2008 at 10:09 PM, Brian Peschel <[email protected]> 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