Uses Inkscape (via webservice) to convert a canvas with Degrafa surfaces to
png, ps, eps, or pdf.
- Convert surface to SVG
- Post SVG to webservice
- Webservice converts SVG to one of png, ps, eps, pdf using Inkscape
- Webservice returns conveted SVG
- Prompt user to save converted file to local disk
covertlab.stanford.edu.graphics.renderer.SVGRenderer
com.degrafa.Surface
public function SVGRasterizer()
public function rasterize(format:String, fileName:String, image:UIComponent, bounds:Rectangle = null, metaData:Object = null):voidParameters
| format:String |
| |
| fileName:String |
| |
| image:UIComponent |
| |
| bounds:Rectangle (default = null) |
| |
| metaData:Object (default = null) |