Howto:Extend the Canvas SVG module: Difference between revisions

Jump to navigation Jump to search
Line 7: Line 7:


== Test Code ==
== Test Code ==
<syntaxhighlight lang="xml">
{{Note|The following code is sufficiently self-contained, so that it can be put into a separate Nasal module, but also executed as a standalone snippet using the [[Nasal Console]]}}
<syntaxhighlight lang="nasal">
var (width,height) = (320,160);
var (width,height) = (320,160);
var svg_filename = "";
var svg_filename = "";

Navigation menu