[ Version ( since = "3.2" ) ]
public int add_point (double x, double y)
Add a new point in a [enum@Gimp.
CurveType.SMOOTH] this, with coordinates `(x, y)`. Any value outside the `[0.0, 1.0]` range will be silently clamped.
The returned identifier can later be used e.g. in [method@Gimp.Curve.get_point] or other functions taking a point number as
argument.
Calling this may change identifiers for other points and the total number of points in this this. Any such information you currently hold should be considered invalid once the curve is changed.
| this |
the Curve. |
| x |
the point abscissa on a `[0.0, 1.0]` range. |
| y |
the point ordinate on a `[0.0, 1.0]` range. |
|
a point identifier to be used in other functions. |