Changes

Jump to: navigation, search

Canvas SVG Parser

654 bytes added, 18:33, 28 June 2014
m
Supported SVG features: http://forum.flightgear.org/viewtopic.php?f=71&t=23299#p213304
* https://developer.mozilla.org/en-US/docs/SVG/Tutorial/SVG_Image_Tag
* http://www.w3.org/TR/SVG/struct.html#ImageElement
 
Shapes are also currently not supported, you'll typically want to use Inkscape's "simplify" option:
{{FGCquote
|Learnt the hard way that SVG parsing (for ''svg_path'' in ''AA.symbol'') in FG doesn't recognize ''<circle>'', ''<ellipse>'', etc., so I opened my hand-coded SVG in Inkscape and used ''Path->Simplify'' (which ostensibly converts shapes to paths) to convert it to a code compatible with FG.
|{{cite web |url=http://forum.flightgear.org/viewtopic.php?p=213304#p213304
|title=<nowiki>Re: Get objects to show up on Map/Radar</nowiki>
|author=<nowiki>RevHardt</nowiki>
|date=<nowiki>Tue Jun 24</nowiki>
}}
}}
== Advanced usage ==
18,603
edits

Navigation menu