Method
GimpGradientsegment_set_right_pos
since: 2.2
Declaration [src]
gboolean
gimp_gradient_segment_set_right_pos (
GimpGradient* gradient,
gint segment,
gdouble pos,
gdouble* final_pos
)
Description [src]
Sets the right endpoint position of the segment
Sets the right endpoint position of the segment of the gradient. The final position will be the given fraction from the midpoint of the current segment to the midpoint of the segment to the right. Returns the final position. Returns an error when gradient is not editable or segment index is out of range.
Available since: 2.2