Deletes all points from a [enum@Gimp.
CurveType.SMOOTH] this.
A subsequent call to [method@Gimp.Curve.get_n_points] will return 0.
the Curve.