Method
GimpGradientsegment_range_redistribute_handles
since: 2.2
Declaration [src]
gboolean
gimp_gradient_segment_range_redistribute_handles (
GimpGradient* gradient,
gint start_segment,
gint end_segment
)
Description [src]
Uniformly redistribute the segment range’s handles
Redistributes the handles of the segment range of the gradient, so they’ll be evenly spaced. A handle is where two segments meet. Segments will then have the same width. Returns an error when a segment index is out of range, or gradient is not editable.
Available since: 2.2