Re: draw_polygon - possible code...

From: Date: Wed, 29 Aug 2001 20:34:16 +0000
Subject: Re: draw_polygon - possible code...
References: 1 2 3 4 5 6 7  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-39@lists.php.net to get a copy of this message
Don't forget the userbase. People come onto here 3 minutes after learning html, the more intuitive the better for them. I'm staying with flat arrays .. ----- Original Message ----- From: "Markus Fischer" <mfischer@guru.josefine.at> To: "Andrei Zmievski" <andrei@ispi.net>; "Alan Knowles" <alan_k@hklc.com>; <php-gtk-dev@lists.php.net> Sent: Wednesday, August 29, 2001 9:34 PM Subject: Re: [PHP-GTK-DEV] draw_polygon - possible code... On Wed, Aug 29, 2001 at 03:15:07PM -0500, Andrei Zmievski wrote : > On Wed, 29 Aug 2001, Markus Fischer wrote: > > flat ... array(x1,y1,x2,y2 .... > > o-kkayyy.. I'll point the finger at you when they come after me. :) ... but then maybe its convinient to have $point[0][X] too ... X) > > What do you mean exactly? We can alway detect what kind of array > > or type the user is passing with some simple checks? > > Yes, but you'll have to do those checks on every call, affecting the > performance. So ... what now? Is it ever of any use to use GdkPoint? So we have 1 [ ] array(x1,y1,x2,y2... 2 [ ] $points[0][X] = .... 3 [ ] array(new GdkPoint(x1,y1), new GdkPoint(x2,y2) ... Hmm .. 2) seems very appealing too ... Let us set-up a vote on gtk.php.net *rungs* - Markus -- Markus Fischer, http://guru.josefine.at/~mfischer/ EMail: mfischer@guru.josefine.at PGP Public Key: http://guru.josefine.at/~mfischer/C2272BD0.asc PGP Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5 D674 B445 C227 2BD0 -All your scripts are belong to Zend- -- 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

« previous php.gtk.dev (#39) next »