I would agree on the scenegraph as the storage of objects. Canvas or not, I need a system which both draws objects (e.g., polygons) and provides interactive control of the objects.
Perhaps polygons are poor example because they make people think GtkDrawingArea. What if I want make a slider which is drawn with OpenGL, probably drawn and moved in 3D (e.g., a lever). That lever should have equally simple API as the GTK slider has; both are widgets. Consider a moment that the canvas would be an OpenGL only. The canvas should have a system for simultaneous handling of 3D objects and of 2D GUI objects. Both drawn with OpenGL. In scenegraph this would probably mean perspective and orthogonal transformation nodes, and a drawing order node. Juhana -- http://music.columbia.edu/mailman/listinfo/linux-graphics-dev for developers of open source graphics software _______________________________________________ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list