Replace Path.lineTo() with Path.cubicTo() using Catmull-Rom to Bezier conversion for smooth elevation curves.