Function
Gimpgradient_segment_range_move
Declaration [src]
gdouble
gimp_gradient_segment_range_move (
const gchar* name,
gint start_segment,
gint end_segment,
gdouble delta,
gboolean control_compress
)
Description [src]
Move the position of an entire segment range by a delta.
This function moves the position of an entire segment range by a delta. The actual delta (which is returned) will be limited by the control points of the neighboring segments.
Available since: | 2.2 |
Parameters
name |
const gchar* |
The gradient name. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
start_segment |
gint |
The index of the first segment to operate on. |
|
end_segment |
gint |
The index of the last segment to operate on. If negative, the selection will extend to the end of the string. |
|
delta |
gdouble |
The delta to move the segment range. |
|
control_compress |
gboolean |
Whether or not to compress the neighboring segments. |