20,741
edits
Line 1: | Line 1: | ||
{{Stub}} | {{Stub}} | ||
{{Canvas Navigation}} | {{Canvas Navigation}} | ||
== Motivation == | |||
Increasingly, modern avionics/MFDs are re-created in FlightGear using a combination of vector graphics and raster images - often, raster images also serve as the background image. | |||
<gallery> | |||
Canvas-mfd-framework-prototyping.png | |||
Gpsmap196-panel-page-gui-dialog.png | |||
Gpsmap196-canvas-panel-page.png | |||
Gpsmap196-mapstructure-layers-ratio.png | |||
Gns530-prototype-07-2014.png | |||
Extra500canvas.png | |||
</gallery> | |||
== Objective == | == Objective == | ||
Document and demonstrate how the Canvas/Nasal SVG module can be extended to suport additional SVG features, by mapping SVG/XML markup to the corresponding Canvas primitives, such as mapping the <code><image></code> tag to a <code>Canvas.Image</code> to add support for raster images to the SVG parser. | Document and demonstrate how the Canvas/Nasal SVG module can be extended to suport additional SVG features, by mapping SVG/XML markup to the corresponding Canvas primitives, such as mapping the <code><image></code> tag to a <code>Canvas.Image</code> to add support for raster images to the SVG parser. |