first (flawed) attemp to draw tk-style curves using an svg path (doesn't correctly close the curve for [filledcurve])