Canvas Nasal API: Difference between revisions

Jump to navigation Jump to search
m
Fix internal wiki link
(→‎Map: more freshing out)
m (Fix internal wiki link)
Line 171: Line 171:


=== createTransform ===
=== createTransform ===
createTransform creates a new matrix on top of the existing matrix stack. A while ago I've added an example for a HUD built using the Canvas to the wiki: http://wiki.flightgear.org/Canvas_HUD
createTransform creates a new matrix on top of the existing matrix stack. A while ago I've added an example for a HUD built using the Canvas to the wiki: [[Canvas HUD]]
It doesn't use SVG but manually creates everything instead. As loading an SVG should basically do the same than handcrafting icons there shouldn't be much of a difference.
It doesn't use SVG but manually creates everything instead. As loading an SVG should basically do the same than handcrafting icons there shouldn't be much of a difference.


Navigation menu