Method

GimpCurvedelete_point

unstable since: 3.2

Declaration [src]

void
gimp_curve_delete_point (
  GimpCurve* curve,
  gint point
)

Description [src]

Deletes a specific point from a GIMP_CURVE_SMOOTH curve.

The point identifier must be between 0 and the value returned by gimp_curve_get_n_points().

You may also use a point identifier as returned by gimp_curve_add_point(), which will correspond to the same point, unless you modified the curve since (e.g. by calling gimp_curve_add_point again, or by deleting or modifying a point).

Available since: 3.2

Parameters

point

Type: gint

A point identifier.