Canvas Nasal API: Difference between revisions

Jump to navigation Jump to search
(→‎addSegment: More details)
Line 670: Line 670:


=== addSegmentGeo ===
=== addSegmentGeo ===
'''Parameters:''' (cmd, coords...)
'''Parameters:''' (cmd, coords)
?
 
Add a path segment.
 
Cmd can for example be canvas.Path.VG_MOVE_TO
 
Coords is a vector with the numbers/coordinates that the command needs in GPS format.
 
See $FGData/Nasal/canvas.api for list of all commands and how many numbers each require.
 
The coords can for example be E32.45 for latitude and N45.34 for longitude.


== Map ==
== Map ==
574

edits

Navigation menu