[sugar] New version of piemenu.py, and some cairo questions

Tomeu Vizoso tomeu
Wed Feb 28 04:10:47 EST 2007


On Tue, 2007-02-27 at 21:22 -0800, Don Hopkins wrote:
> I'd love to know the trick to reading SVG files, please -- that would
> really work well with pie menus, especially once I get some cool
> scaling and rotating feedback implemented. 
> Is there a way to load an SVG file into a surface cache with a
> transparent background? 
> How do you measure an SVG file's size, or do you have to know what
> size to render it? 

You can see how we already do all of this in Sugar in
sugar/graphics/canvasicon.py.



More information about the Sugar-devel mailing list