20,741
edits
m (→In the hangar) |
|||
Line 127: | Line 127: | ||
|- | |- | ||
| [[File:Canvas-svg-support.png|thumb|screen shot demonstrating how the scripted Nasal-based SVG parser can be used to dynamically turn SVG files into OpenVG instructions understood by Canvas]] | | [[File:Canvas-svg-support.png|thumb|screen shot demonstrating how the scripted Nasal-based SVG parser can be used to dynamically turn SVG files into OpenVG instructions understood by Canvas]] | ||
| | | <syntaxhighlight lang="nasal" enclose="div"> | ||
<syntaxhighlight lang="nasal" enclose="div"> | |||
var (width,height) = (320,160); | var (width,height) = (320,160); | ||
var title = 'My new Window'; | var title = 'My new Window'; |