Re: GTK Canvas



On Mon, 2004-11-15 at 17:46 +0100, Jost Boekemeier wrote:
> > Your suggestion of a 'retained mode' (i.e. has a
> > memory) canvas widget
> 
> Please note that a cairo "retained mode" API and a
> canvas are two different things; the retained mode
> keeps the drawing requests in a list and is able to
> re-play them onto different target surfaces. The
> canvas is one level above the retained mode API. It is
> a widget and thus should not implement a "retained
> mode" itself.

  Yeah, you're probably right in that there is a distinction between a
canvas and retained mode drawing API, but it's a very subtle one.

> 
> For example the next windows API uses a "retained
> mode" for _all_ widgets and is able to do animations
> on this level (the widgets pass down hints that
> describe how the animation should work).
> 
> It should be possible to write a GTK canvas on top of
> a retained mode cairo API (for example the cairo_shape
> API), but that's not on my list at the moment.

  Oh, you're going to work on a cairo based canvas?  I had never heard
of anyone starting such a project, except maybe something inside the
criawips project...

> 
> 
> Jost
> 
> 
> 	
> 
> 	
> 		
> ___________________________________________________________
> Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
> _______________________________________________
> gtk-devel-list mailing list
> gtk-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list
-- 
Gustavo J. A. M. Carneiro
<gjc inescporto pt> <gustavo users sourceforge net>
The universe is always one step beyond logic




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]