gimp-gradient-segment-set-left-pos

Shlomi Fish <shlomif@iglu.org.il>

Description

Sets the left endpoint position of the specified segment

Help

This procedure sets the left endpoint position of the specified segment of the specified gradient. The final position will be between the position of the middle point to the left to the middle point of the current segement. 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