Creates a new Curve object, of type [enum@Gimp.
CurveType.SMOOTH], with 0 points initially.
a new curve.