2d.path.lineTo.ensuresubpath.1

If there is no subpath, the point is added and nothing is drawn