Canvas SVG parser: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
(One intermediate revision by one other user not shown)
Line 130: Line 130:
};
};
   
   
var preview= SVGMapPreview.new(x:400, y:400, svg:"Nasal/canvas/map/boeingND.svg");
var preview= SVGMapPreview.new(x:400, y:400, svg:"Nasal/canvas/map/Images/boeingND.svg");
   
   
print("SVGPreviewer loaded ...!");
print("SVGPreviewer loaded ...!");
Line 167: Line 167:
The SVG file used for this demo has been created using [http://inkscape.org Inkscape]. Using paths (also with linestipple/dasharray), text, groups and cloning is supported, but don't try to use more advanced features like gradients, as the SVG parser doesn't interpret every part of the SVG standard. (You can always have a look at the {{fgdata source|path=Nasal/canvas/svg.nas|text=implementation}} and also improve it if you want ;-) )
The SVG file used for this demo has been created using [http://inkscape.org Inkscape]. Using paths (also with linestipple/dasharray), text, groups and cloning is supported, but don't try to use more advanced features like gradients, as the SVG parser doesn't interpret every part of the SVG standard. (You can always have a look at the {{fgdata source|path=Nasal/canvas/svg.nas|text=implementation}} and also improve it if you want ;-) )


{{note|Support for SVG circle and ellipse has been added to "next" branch in 12/2018 and is expected to be officially available in release 2019.1}}


== Known Limitations ==
== Known Limitations ==
252

edits

Navigation menu