20,741
edits
(→tag) |
(→tag) |
||
Line 182: | Line 182: | ||
stack[-1].set("src", ref); # set the filename to the xlink/href value | stack[-1].set("src", ref); # set the filename to the xlink/href value | ||
</syntaxhighlight> | </syntaxhighlight> | ||
The next step is processing the x,y,width and height attributes of the image tag - to do that, we can also refer to existing code: | |||
<syntaxhighlight lang="nasal"> | |||
</syntaxhighlight> | |||
[[Category:Canvas SVG]] | [[Category:Canvas SVG]] |