<font color="red">Update : v1.11 - 11 october</font>
Here's a small update.
The SVG Canvas now starts with a default SVG content string.
There's also a new method "change Text Content", to change a text string added to the SVG.
<img src="https://dl.dropbox.com/u/1412774/SVGTextChangeDemo/demo.png" border="0">
A quick demo, with NRABrazil SVG example :
The new plugin : https://dl.dropbox.com/u/1412774/SVGTextChangeDemo/pode_svg.1.11.zip
The .capx : https://dl.dropbox.com/u/1412774/SVGTextChangeDemo/SVGTextChangeDemo.capx
I also realised that I never uploaded the original .capx for the original demo (the one with the screenshot further down) !
Here it is : https://dl.dropbox.com/u/1412774/SVGTextChangeDemo/SVGCanvasDemo.capx
<font color="red">Update : v1.1 - 16 august</font>
Here's a quick update. There's now the possibility to dump the SVG canvas as a base64 string, to load it inside a Sprite !
<img src="https://dl.dropbox.com/u/1412774/SVGbase64Demo/demo.png" border="0">
If I remember well, chrisbrobs asked for it...
There's also a new icon.
The demo : https://dl.dropbox.com/u/1412774/SVGbase64Demo/index.html
The .capx : https://dl.dropbox.com/u/1412774/SVGbase64Demo/SVGbase64Demo.capx
The plugin : https://dl.dropbox.com/u/1412774/SVGbase64Demo/pode_svg.1.1.zip
(It's not working in WebGL mode, because Ashley is already dumping canvas to write them as webgl textures, and that means ERROR MODE 18 for me - domain error. Same as CORS. It's logical, but annoying. When I'll have more time, I'll implement the workaround.)
Edit : I didn't realised, but for those who ddin't know it : SVG means vector graphics.
The devil made me do that, sorry...
Do you like SVG ?
<img src="http://dl.dropbox.com/u/1412774/SVGCanvas/demo.png" border="0">
Here's a little plugin I started, to use SVG with C2.
It's the beginning, but you can use circle, rectangle (with rounded corners, yay ! ;)), paste SVG string (from image, for example).
You can also change a property from a specific item after it has been drawn, alhtough you need to the SVG name of the property (for example, the circle radius in SVG is just r).
It should work on all browser, even mobile (and it's a pain to debug on all platforms...)
You can expect more shapes in a near future, and filters effects (a bit like shaders, in SVG).
The plugin : http://dl.dropbox.com/u/1412774/SVGCanvas/pode_svg.0.1.zip
The demo uses septeven MultiLines plugin (http://www.scirra.com/forum/plugin-multiline-box_topic48898_post307078.html) : http://dl.dropbox.com/u/1412774/SVGCanvas/index.html