Convert to Dojo 'dojox.gfx' format from SVG

The dojox.gfx tool is very powerful, but there is currently no easy way to convert drawings from SVG into the format. The only existing tool I found was an XSL file, which was very simplistic, but didn't cover many cases (example: gradient transformations). Therefore, if you wanted to use existing SVG files with dojox.gfx, you had to convert the file by hand. This was extremely tedious, so I have developed a converter tool with which you may convert existing SVG files into Javascript code ready to be used with dojox.gfx. If you have any comments or suggestions for improvement, feel free to contact me.

SVG (XML)
Javascript Code