[maemo-developers] [maemo-developers] 2D Library, Vector Library or similar.

From: Carl Worth cworth at cworth.org
Date: Tue Nov 21 19:37:34 EET 2006
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.

-Carl
--
cworth at redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20061121/a5ad0349/attachment.pgp 
More information about the maemo-developers mailing list