Re: How to draw a graph with php-gtk ?
| From: | Steph | Date: | Tue, 24 Sep 2002 04:26:22 +0000 |
| Subject: | Re: How to draw a graph with php-gtk ? | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-2470@lists.php.net to get a copy of this message | ||
o *that* basic .. :)
----- Original Message -----
From: "Alan Knowles" <alan@akbkhome.com>
To: "Ernest Beinrohr" <Ernest@Beinrohr.sk>
Cc: <php-gtk-general@lists.php.net>
Sent: Tuesday, September 24, 2002 12:16 AM
Subject: Re: [PHP-GTK] How to draw a graph with php-gtk ?
> Ernest Beinrohr wrote:
>
> > Hi there, maybe some of you could help me with this a little.
> >
> > I would need to [slowly] draw a graph with php-gtk. Actually I would
> > nee to draw some data and draw it WHILE proceeding, also not fetch
aal
> > the neede data and draw it, but draw it step-by-step.
>
> you will need to use the gtkdrawingarea widget, which is one of the
more
> confusing widgets out there...
>
> Have a look at the scribble.php example, this gives you the basics of
> drawing.
>
> there are a few things to remember about gtkdrawingareas :
> a) you draw onto a pixmap which is associated with the drawingarea
> b) after you have drawn a line, you need to tell the drawing area to
> redraw the area of the pixmap that you have changed.
>
> there is a very complex example of a drawingarea in the html render
widget.
> http://docs.akbkhome.com/akpear/GTK_HtmlEditor.html
>
> Regards
> Alan
>
> >
> >
> > is it possible ?
> >
> >
> > PS: is should like like "animated" ...
>
>
>
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>