[maemo-developers] [maemo-developers] 2D Library, Vector Library or similar.
From: koos vriezen koos.vriezen at gmail.comDate: Wed Nov 22 10:13:49 EET 2006
- Previous message: [maemo-developers] 2D Library, Vector Library or similar.
- Next message: [maemo-developers] 2D Library, Vector Library or similar.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2006/11/21, Carl Worth <cworth at cworth.org>: > On Tue, 21 Nov 2006 10:34:30 +0100, Beth wrote: > > Hi Xan, I will try to get two implementations working, one with a > > GtkDrawingArea and other with cairo. > > Those aren't mutually-exclusive options. The best way to draw on a > GtkDrawingArea (in my opinion) is to do that with cairo. > > See, for example the second half of this tutorial: > > http://www.gnomejournal.org/article/34/writing-a-widget-using-cairo-and-gtk28 > > If you just write a function to handle the expose event of your > GtkDrawingArea then you can use cairo to draw in it as much as you'd > like. > > > Sure that I will be here making a bit of noise (jeje maybe boring > > noise but ...) > > I'm the cairo maintainer, and I recently subscribed to this mailing > list. We're currently working on improving the cairo performance as > much as possible, (and many of the people actively working on it are > doing it with a focus on embedded devices such as the 770). > > So please give it a try, and if things are slower than you'd like or > expect, let us know so we can look at those cases that you are > hitting. Sorry for my stupidity on this matter, but I have two questions. In another thread, about gnash, they mentioned moving to agg for its lightweightness. How do these two compare? Eg. do you think they could have moved to cairo as well? Secondly, given the success for cairo, I wondered about the scarce documentation on the net. Eg. can cairo deal with images, like suppose I have a surface w/ a blue rectangle and a png surface, an animation that moves the png from top-left to bottom-right of the rectangle, say opaqueness of 80% and double scaled. Can one do that in cairo, and what are the considerations concerning flickering (or how are the syncing with the display done)? Or where to find documentation about this. Also the API docs mentions it's incomplete. Are not all API's noted, or are the explanation not complete? Tia, Koos > -Carl > -- > cworth at redhat.com > > > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://maemo.org/mailman/listinfo/maemo-developers > > > >
- Previous message: [maemo-developers] 2D Library, Vector Library or similar.
- Next message: [maemo-developers] 2D Library, Vector Library or similar.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]