gimp-gradient-segment-set-right-pos

Shlomi Fish <shlomif@iglu.org.il>

Description

Sets the right endpoint position of the specified segment

Help

This procedure sets the right endpoint position of the specified segment of the specified gradient. The final position will be between the position of the middle point of the current segment and the middle point of the segment to the right. This procedure returns the final position.


Type

unknown

Parameters

Type Name Description
PF_VALUE name The gradient name
PF_INT segment The index of the segment within the gradient (segment >= 0)
PF_FLOAT pos The position to set the guidepoint to (0 <= pos <= 1)

Return

Type Name Description
PF_FLOAT final-pos The return position