gimp-gradient-segment-range-move

Shlomi Fish <shlomif@iglu.org.il>

Description

Move the position of an entire segment range by a delta.

Help

This funtions 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.


Type

unknown

Parameters

Type Name Description
PF_VALUE name The gradient name
PF_INT start-segment The index of the first segment to operate on (start-segment >= 0)
PF_INT end-segment The index of the last segment to operate on. If negative, the selection will extend to the end of the string.
PF_FLOAT delta The delta to move the segment range (-1 <= delta <= 1)
PF_INT control-compress Whether or not to compress the neighboring segments (TRUE or FALSE)

Return

Type Name Description
PF_FLOAT final-delta The final delta by which the range moved