Re: draw_polygon - possible code...

From: Date: Wed, 29 Aug 2001 23:20:34 +0000
Subject: Re: draw_polygon - possible code...
References: 1 2 3 4 5 6 7 8  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-42@lists.php.net to get a copy of this message
Point taken. I actually like [2] too ... (shhhh) ----- Original Message ----- From: "Geoff A. Virgo" <wig@mithril.ca> To: <php-gtk-dev@lists.php.net> Sent: Wednesday, August 29, 2001 10:18 PM Subject: Re: [PHP-GTK-DEV] draw_polygon - possible code... At 02:34 PM Wednesday, 08/29/2001, Steph wrote: >Don't forget the userbase. People come onto here 3 minutes after learning >html, the more intuitive the better for them. I agree with you, but I think it should be more orientated to creating a balance of intuitiveness and proper functionality than pure intuitiveness. I think that most people won't have too much trouble figuring it all out as long an relatively simple example exists.... in gtk.php in the sample that come with the distro for example and the manual errata when that comes into being. If all else fails, they can post to the mailing-list and I'm sure one of the great folks in the community can sort them out toute suite:) >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 > > > >-- >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 Cheers, Geoff A. Virgo ---------------------- Programmer: an advanced tool used for converting caffeine into code. -- 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 (#42) next »