On 21/07/2010 19:10, Elliot Smith wrote:
(Another alternative I didn't cover could have been writing the
ClutterPath onto a Cairo surface instead. But I don't know whether this
approach applies if you're using RSVG.)
I had a look at your code. It was doing what I expected and is the bind I am in with RSVG — I can't get a 'path' or a list of nodes out of it (into Python, where I live). It draws, strokes/fills and comes back, HAND.

I have been down the road of parsing SVG into python-cairo and/or cogl draw commands just so that I could draw pick shapes, but its such a waste of a good CPU* to draw things more than once! I am glad that pick-with-alpha property came along to bacon my save!

I really gotta learn C and gobject one of these days; I feel the constant urge to extend librsvg.

Thanks for the input!
\d

* Not to mention an aging mind like mine trying to re-invent wheels faster than they roll! RSVG does the parsing already! Just gimme the darn paths... at least!
_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to