bezier curves to SVG in drawing