Canvas draw library: Difference between revisions

m
Line 8: Line 8:


== Motivation ==
== Motivation ==
There are basically two way to populate a canvas, loading a SVG file which
There are basically two ways to populate a canvas, loading an SVG file which
has been created with some tool like inkscape or by writing a nasal program
has been created with some tool like inkscape, or by writing a nasal program
that calls drawing functions of the canvas API. Both ways are valid and have  
that calls drawing functions of the canvas API.  
their pros and cons.
 
Both ways are valid and have their pros and cons.
 
The canvas API is quite limited (at the time of writing), only a few basic  
The canvas API is quite limited (at the time of writing), only a few basic  
commands are available. There should be more drawing commands to allow rapid
commands are available. There should be more drawing commands to allow rapid
development of canvas instruments for other aircrafts.
development of canvas instruments for other aircraft.


== Goals ==
== Goals ==