by Hooray » Sun Mar 20, 2016 2:48 pm
path drawing is the correct method, for the supported commands, refer to $FG_ROOT/Nasal/canvas/api.nas and the segments listed in the canvas.Path hash (OpenVG should support arc/circle paths, not sure if those are currently made available or not)
For reference, you can look up the corresponding ShivaVG/OpenVG examples on the web, all primitives listed in api.nas should also be supported by the Canvas/ShivaVG implementation.
BTW: Once you know how to draw a circle using OpenVG paths, you can also extend svg.nas to parse the <circle> tag you mentioned.