On 6/29/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

On 6/29/07, Kieran Clancy <[EMAIL PROTECTED]> wrote:
> I'll have a look at the gtkplot API, it may give a good structure for
> starting this. This project will probably use cairo directly instead
> of using a canvas widget.

Your call, of course, but I would consider using a canvas widget.

If you make a canvas object for a data series (ie. the single object
would draw all 1000 points in a series) you can avoid having to build
huge canvas object sets.


Right, but it would be great if the base canvas and this multi-point canvas
item used the same optimized drawing routines, which would handle stuff like
avoiding redundant drawing and handling interaction with individual points.
This would require abstraction of those algorithms from the canvas itself.

Plus using the canvas framework will make interactivity easy (or
easier), since it already has a nice framework for handling
selections, dragging, optimising updates, and so on.

Finally your users will thank you for not reinventing a lot of the
canvas API and forcing them to learn it.
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list

_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Reply via email to