Converting SVG path descriptions to Scala sources of Java2D statements