Re: draw_polygon - possible code...
| From: | Andrei Zmievski | Date: | Wed, 29 Aug 2001 20:45:59 +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-40@lists.php.net to get a copy of this message | ||
On Wed, 29 Aug 2001, Markus Fischer wrote:
> 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 ...
2) and 3) are almost equivalent, $points[0]['x'] vs. $points[0]->x.
> Let us set-up a vote on gtk.php.net *rungs*
Sure, or php-gtk-general.
-Andrei
Work is of two kinds: first, altering the position of matter at or near
the earth's surface relatively to other matter; second, telling other people
to do so. The first kind is unpleasant and ill-paid, the second is pleasant
and highly paid. -- Bertrand Russell