Re: draw_polygon - possible code...
| From: | Andrei Zmievski | Date: | Wed, 29 Aug 2001 20:09:24 +0000 |
| Subject: | Re: draw_polygon - possible code... | ||
| References: | 1 2 3 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-34@lists.php.net to get a copy of this message | ||
On Wed, 29 Aug 2001, Markus Fischer wrote:
> I've checked some sources .. most of them never use GdkPoint
> natively and always construct an array of GdkPoint only to pass
> it to draw_polygon(). So, the use of a flat array is not only
> efficient but also the easiest way to use it.
So, a flat array or an array of arrays? ((0,1), (2,3))?
> And .. if we really need it otherwise, implementing it is
> trivial.
Sure it is, but what about backwards compatibility?
-Andrei
"Then again, e=mc^2 may only be a local phenomenon."
-- Einstein