KAS: refactored CadenceDrawing (was SvgWriter.py)