Class
GimpCurve
Constructors
gimp_curve_new
Creates a new GimpCurve object, of type
GimpCurveType, with 0 points initially.
since: 3.2
Instance methods
gimp_curve_add_point
Add a new point in a GimpCurveType curve, with
coordinates (x, y). Any value outside the [0.0, 1.0] range will
be silently clamped.
since: 3.2
gimp_curve_get_n_points
Gets the number of points in a GimpCurveType curve. Note that it will always
be 0 for a GimpCurveType curve.
since: 3.2
gimp_curve_get_sample
Gets the ordinate y value corresponding to the passed x abscissa
value, in a GimpCurveType curve.
since: 3.2
gimp_curve_is_identity
If this function returns TRUE, then the curve maps each value to
itself. If it returns FALSE, then this assumption can not be made.
since: 3.2
gimp_curve_set_point
Sets the point coordinates in a GimpCurveType curve.
Any value outside the [0.0, 1.0] range will be silently clamped.
since: 3.2
Signals
Gimp.Curve::points-changed
Emitted when any points are added, deleted, or edited in curve.
since: 3.2
Gimp.Curve::samples-changed
Emitted when any sample is edited, or if the number of samples
changed, in curve.
since: 3.2
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.