Generate the path attribute for a curved SVG line.