title: Save Dojox GFX Canvas as SVG
body: <p>Is there a way to serialize a Dojox GFX canvas as SVG?</p>
  
  <p>I am looking for a way to save my Dojox GFX canvas contents in a way which can be exported as a graphics file (SVG, PNG, JPG, etc.) which could be easily saved or printed, and SVG seemed the most likely.</p>
  
  <p>I found a reference to a function dojox.gfx.utils.toSvg, which looked perfect:</p>
  
  <p><a href="http://docs.dojocampus.org/dojox/gfx/utils/toSvg" rel="nofollow noreferrer">http://docs.dojocampus.org/dojox/gfx/utils/toSvg</a></p>
  
  <p>But this function does not exist in my Dojo (1.1) implementation, and is not mentioned in the Dojo Toolkit documentation, so I am not sure if it exists.</p>
  
  <p>Thanks.</p>