[cairo] Re: GTK-Canvas
Gustavo J. A. M. Carneiro
gjc at inescporto.pt
Tue Feb 28 08:33:05 PST 2006
On Ter, 2006-02-28 at 00:09 -0500, Havoc Pennington wrote:
> Hi,
>
> On Tue, 2006-02-28 at 01:41 +0100, Sven Herzberg wrote:
> > If you have questions, bug reports, recommendations, feel free to send
> > them either per email (I read the lists I sent this email to) or take
> > the newly created Wiki Page [1] and edit it.
>
> It looks slick and nicely done (congrats!) as a Cairo version of
> GnomeCanvas, but I think you could do so much more - you probably saw my
> earlier mail:
> http://mail.gnome.org/archives/gtk-devel-list/2005-August/msg00067.html
>
> To summarize my wishlist:
> - animations
> - behaviors
> - mixing in widgets (including layering and events)
> - multiple views (you have this one already)
> - path item (you have a shape item, but it's "abstract"
> it looks like, not concrete)
> - data/markup form of the object graph, with an
> artist-usable editor
> - layout management
That sounds complicated to get right in one go. Personally, I'd just
be happy to have a canvas that lets you create items, with virtualized
draw method, even at position/size statically controlled by the
programmer, stacking/layering and events. Basically like GnomeCanvas.
If we get that right, and optimise the redrawing properly using micro
tile arrays like in GnomeCanvas, then we can put that in gtk+ 2.10 right
away. It seems to me like everything else is either not so important
that can't wait a bit more (like embedding widgets) or can be done on
top of the existing framework (animations, layout, object graph file
persistency).
>
> One minor thing I noticed while looking at the code,
> I'd make the objects more opaque, you have lots of data fields
> and private-looking functions in the public headers.
>
> Havoc
>
>
> _______________________________________________
> gtk-devel-list mailing list
> gtk-devel-list at gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list
--
Gustavo J. A. M. Carneiro
<gjc at inescporto.pt> <gustavo at users.sourceforge.net>
The universe is always one step beyond logic
More information about the cairo
mailing list