improve top2svg to allow the use of paths
Status: Alpha
Brought to you by:
alexandergeorg
This patch add SVG paths support to top2svg. When using paths, multiple contiguous segments will be converted into a single entity. This allow for easier editing in a svg editing software.
This patch expect that you have already done the previous one (the one that fixes 2 bugs).
With this one, I set 'path' as the default output, but it can be changed in both the .c file and through the compile line (define DEFAULT_SEGMENT_TYPE).
At run-time, there's a -line and -path option that allow to choose which one we want.
improved top2svg with 'path' support