[Sugar-devel] Goocanvas as alternative to Hippo?

Bruno Coudoin bruno.coudoin at free.fr
Fri Jun 12 16:29:08 EDT 2009


Le vendredi 12 juin 2009 à 15:20 -0400, Bobby Powers a écrit :
> >>> Here's a sceptical blog entry about it:
> >>>
> http://www.murrayc.com/blog/permalink/2007/10/11/goocanvas-experiences/
> >>
> >> I used goocanvas (through the python bindings) in my activity, and
> >> would recommend against anyone else doing the same.  It was both
> >> quirky and buggy, and I never got it working quite as I wanted.
>  I've
> >> been converting my activity to Gaphas, which is much nicer to use
> and
> >> gives more bang for the buck.

I did port GCompris from the venerable gnomecanvas to goocanvas. Now I
have 100 activities running with goocanvas. 

Yes there was some issues but it's way much better than what we had
before. Now we have anti aliasing and object transparancy. All the code
is available under the gcomprixogoo branch. I never tested this on the
XO but it should not be a major problem except a performance issue.  

While doing the port, I also moved to a SVG based image set. For
example, the new skin system in GCompris rely on SVG obect ids so that
there is a single file per skin. It makes it easier to manage and create
for graphic artist.

My main complaint against goocanvas is that they don't ship an svg item
by default because they don't want to rely on the librsvg. I had to
create one myself and it is not as good as I wish but does the job.

Bruno.




More information about the Sugar-devel mailing list