Linked by Thom Holwerda on Thu 10th Apr 2008 13:01 UTC, submitted by Rehdon
Thread beginning with comment 309169
To view parent comment, click here.
To read all comments associated with this story, please click here.
To view parent comment, click here.
To read all comments associated with this story, please click here.
Thanks for the info. What I need is a canvas library that keeps track of what is drawn.
I'll investigate goocanvas which uses cairo.
I don't know if cairo is better or worse than libart and if libgnomecanvas is better or worse than goocanvas, but I'll investigate. It looks like gcompris is moving avay from libgnomecanvas to goocanvas, so there must be good reasons to do this.







Member since:
2006-03-23
For basic things such as handling events and good-quality 2d drawing, GtkDrawingArea and cairo is the perfect combination. You don't have to write a new widget, just use GtkDrawingArea and connect to the GDK events for mouse control etc, use the expose handler with cairo to draw.