Re: draw_polygon - possible code...
| From: | Steph | Date: | Wed, 29 Aug 2001 20:12:15 +0000 |
| Subject: | Re: draw_polygon - possible code... | ||
| References: | 1 2 3 4 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-36@lists.php.net to get a copy of this message | ||
Speaking as a lowly user ... I find flat arrays a lot easier to code.
----- Original Message -----
From: "Andrei Zmievski" <andrei@ispi.net>
To: "Markus Fischer" <mfischer@guru.josefine.at>
Cc: "Alan Knowles" <alan_k@hklc.com>; <php-gtk-dev@lists.php.net>
Sent: Wednesday, August 29, 2001 9:09 PM
Subject: Re: [PHP-GTK-DEV] draw_polygon - possible code...
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
--
PHP-GTK Development Mailing List (http://gtk.php.net/)
To unsubscribe, e-mail: php-gtk-dev-unsubscribe@lists.php.net
For additional commands, e-mail: php-gtk-dev-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net