Background: Vector Image Support (Status 07/2012:SVG parser implemented and available) === '''TheTom''': I already have some experimental code for an old version of the canvas. But basically it is just mapping the xml structure to the property tree. I though have no plans to support the full SVG standard, but only a subset. Maybe we should implement this in Nasal so its easier to add suport for new SVG features if someone needs it. As there is already support for parsing xml in Nasal parsing SVG should be pretty straight forward. Just a boring programming exercise :-) But using separate canvas elements instead of a single image will always be slower as every little piece of the canvas hat to be triangulated and afterwards rendered every time the canvas gets updated instead of just copying an image. On the other hand you if you use the canvas you can dynamically update the contents of the image and also get (theoretically) unlimited resolution, even changeable at runtime.
'''TheTom''': Currently I use [http://svgconv. sourceforge. net/ svgconv] for converting SVG files to OpenVG compatible path syntax.
== Basic example ==
== Supported SVG features ==
The SVG file used for this demo has been created using [http://inkscape.org Inkscape]. Using paths (also with linestipple/dasharray), text, groups and cloning is supported, but don't try to use more advanced features like gradients, as the SVG parser doesn't interpret every part of the SVG standard. (You can always have a look at the [https://gitorious.org
/~tomprogs/fg/ toms-fgdata/blobs/ canvas/Nasal/canvas/svg.nas implementation] and also improve it if you want ;-) )