gimp-gradient-segment-set-middle-pos

Shlomi Fish <shlomif@iglu.org.il>

Description

Sets the middle point position of the specified segment

Help

This procedure sets the middle point position of the specified segment of the specified gradient. The final position will be between the two endpoints of the segment. 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