Function globals canvas MapStructure call_draw
Drawing functions have the form: func(group) { group.createChild(...).set<Option>(<option>); ... } The style is passed as (essentially) their local namespace/variables, while the group is a regular argument.