Howto:Serializing a Canvas to SVG: Difference between revisions

Jump to navigation Jump to search
Line 201: Line 201:
[[File:Canvas2svg-serialization-test.png|thumb|Screenshot showing a Canvas GUI dialog with an image element showing a splash screen texture, a Canvas text node and two canvas paths - used for testing a simple serializatition scheme to turn a Canvas into SVG markup.]]
[[File:Canvas2svg-serialization-test.png|thumb|Screenshot showing a Canvas GUI dialog with an image element showing a splash screen texture, a Canvas text node and two canvas paths - used for testing a simple serializatition scheme to turn a Canvas into SVG markup.]]
{{See also|Canvas Snippets}}
{{See also|Canvas Snippets}}
Our test canvas will be fairly simple, it will show a text node, an images and two Canvas Path elements:
Our test canvas will be fairly simple, it will show a text node, an image node and two Canvas Path elements:


<syntaxhighlight lang="nasal">
<syntaxhighlight lang="nasal">

Navigation menu