Canvas MapStructure: Difference between revisions

Jump to navigation Jump to search
m
→‎The SymbolCache: add screen shots that we posted on the forum but somehow missed to add to the docs
m (→‎The SymbolCache: + screen shot)
m (→‎The SymbolCache: add screen shots that we posted on the forum but somehow missed to add to the docs)
Line 731: Line 731:


Internally, each *.symbol file will still contain all the logic required to actually render the corresponding symbol, which may include  hard-coded OpenVG drawing commands, but also SVG or raster images.  
Internally, each *.symbol file will still contain all the logic required to actually render the corresponding symbol, which may include  hard-coded OpenVG drawing commands, but also SVG or raster images.  
[[File:Early MapStructure Caching Experiments.png|thumb|MapStructure/SymbolCache experiments for caching symbols and symbol instancing [http://forum.flightgear.org/viewtopic.php?f=71&t=21139&p=193672&hilit=#p193672]]]
However, the cache will be dynamically populated according to all the symbols that are required for each layer. This approach proved quite efficient and straightforward so that even the extra500 developers adopted this method on their [[Avidyne Entegra R9]] instrument.  
However, the cache will be dynamically populated according to all the symbols that are required for each layer. This approach proved quite efficient and straightforward so that even the extra500 developers adopted this method on their [[Avidyne Entegra R9]] instrument.  


Navigation menu