Curve
Object Hierarchy:
Description:
[ CCode ( type_id = "gegl_curve_get_type ()" ) ]
public class Curve : Object
Content:
Creation methods:
Methods:
- public uint add_point (double x, double y)
Add a point to the curve at x
y
(replacing
the value exactly for x
if it already exists.
- public double calc_value (double x)
Retrieve the number of points in the curve.
- public Curve duplicate ()
Create a copy of this.
- public void get_point (uint index, out double x, out double y)
Retrive the coordinates for an index.
- public void get_y_bounds (out double min_y, out double max_y)
Get the bounds on the values of the curve and store the values in the
return locaitons provided in min_y
and max_y
.
- public uint num_points ()
Retrieve the number of points in the curve.
- public void set_point (uint index, double x, double y)
Replace an existing point in a curve.
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref