Library globals

Function globals . canvas . MapStructure . SymbolCache . add

View source

Add a cached symbol based on a drawing callback.
@note this assumes that the object added by callback
fits into the dimensions provided to the constructor,
and any larger dimensionalities are liable to be cut off.

Parameters

name

callback

draw_mode
optional