Curve
Object Hierarchy:
Description:
[
CCode ( type_id =
"gimp_curve_get_type ()" ) ]
public class Curve :
Object
Content:
Properties:
Creation methods:
Methods:
- public int add_point (double x, double y)
Add a new point in a [enum@Gimp.
- public void clear_points ()
Deletes all points from a [enum@Gimp.
- public void delete_point (int point)
Deletes a specific point from a [enum@Gimp.
- public CurveType get_curve_type ()
- public int get_n_points ()
Gets the number of points in a [enum@Gimp.
- public int get_n_samples ()
Gets the number of samples in a [enum@Gimp.
- public void get_point (int point, out double x, out double y)
Gets the point coordinates for a [enum@Gimp.
- public CurvePointType get_point_type (int point)
- public double get_sample (double x)
Gets the ordinate y value corresponding to the passed
x abscissa value, in a [enum@Gimp.
- public bool is_identity ()
If this function returns true, then
the curve maps each value to itself.
- public void set_curve_type (CurveType curve_type)
Sets the curve type of this, as
follows:
- public void set_n_samples (int n_samples)
Sets the number of sample in a [enum@Gimp.
- public void set_point (int point, double x, double y)
Sets the point coordinates in a [enum@Gimp.
- public void set_point_type (int point, CurvePointType type)
Sets the point type in a [enum@Gimp.
- public void set_sample (double x, double y)
Sets a sample in a [enum@Gimp.
Signals:
- public signal void points_changed ()
Emitted when any points are added, deleted, or edited in curve
.
- public signal void samples_changed ()
Emitted when any sample is edited, or if the number of samples
changed, in curve.
Inherited Members:
All known members inherited from class GLib.Object