Forums > Jitter

jit.mgraphics svg_create help

March 20, 2012 | 9:25 pm

hi all, can anyone advise on this?

in the jit.mgraphics reference for the svg_create message, it says you can "Create a named svg object, filling with the contents of specified source. Source can be a file name, or an XML svg string."

I’m hoping that I might be able to just pass an svg element string prepended by svg_create, and the svg_render, bang..

my string (from an svg file) will look something like:

I’ve tried a few variations without luck so far -

does anyone have an example that I could check out that shows using an xml svg string in action?

would be great!

thanks,
rama


Viewing 1 post (of 1 total)