[cairo] pygoocanvas with rsvg and pycairo (cross post)

donn donn.ingle at gmail.com
Mon Feb 8 19:34:37 PST 2010


On 09/02/2010 03:19, Bobby Powers wrote:
> On Sun, Jan 31, 2010 at 9:50 PM, donn<donn.ingle at gmail.com>  wrote:
>> Hi, I posted this to the goocanvas list, but there seems to be little
>> activity over there
I also got a reply on the goo list. Just for the record :)

>> Is it possible to use rsvg to render an "Item" (or something) to the
>> canvas that is actually drawn via rsvg? Something like this:
> Yup, I did just that:
> http://dev.laptop.org/git/activities/model/tree/opensim/visuals/widgets/cloud.py#n130
Example code is such a nice thing to see :D

> I found goocanvas to be a pain (and unmaintained).  I also don't think
> it supports embedding a gtk widget in the canvas.
Okay thanks. I have been hacking at Goo as well as Clutter to see which 
one will best suit my needs. So far Clutter is looking the most likely. 
If I want to use Goocanvas then I will have to fork it and do a lot of C 
coding which is something I am wholly ignorant of and this will triple 
my development time. I'm too old for so many new tricks!

> I found Gaphas nice, if a bit obtuse to get started with [1].
Ah, that's new to me. <heads off to link>

> but I'd be interested in hearing what else is out
> there.
Well, I know it's tied to GL and all the evils of binary drivers, but 
Clutter really has something going. So far it seems to do everything 
that Goocanvas can do (including very tight cairo integration) and a few 
things that it cannot (like motion paths).

I had also looked at Panda3D for a while. It's a *very* nice library, 
but too large a download (and not in the Debian repos) to make it 
attractive.

Finally, there is my own very weak-sauce attempt at a retained-mode 
canvas: https://savannah.nongnu.org/projects/things/
(Which I want to redo.)

Thanks for your feedback Bobby,
\d
-- 
Fonty Python and Things! -- http://otherwise.relics.co.za/wiki/Software


More information about the cairo mailing list