2d.path.stroke.prune.curve
Zero-length line segments from quadraticCurveTo and bezierCurveTo are removed before stroking