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

Marco Pesenti Gritti mpg
Wed Feb 28 04:50:19 EST 2007


On Wed, 2007-02-28 at 10:58 +0200, Antoine van Gelder wrote:
> Don Hopkins wrote:
> * Measuring svg files size / knowing what size to render it:

To get the original dimension you can do this:

dimensions = handle.get_dimension_data()
width = dimensions[0]
height = dimensions[1]

Marco



More information about the Sugar-devel mailing list