Function

Gimpgradient_segment_range_replicate

Declaration [src]

gboolean
gimp_gradient_segment_range_replicate (
  const gchar* name,
  gint start_segment,
  gint end_segment,
  gint replicate_times
)

Description [src]

Replicate the segment range

This function replicates a segment range a given number of times. Instead of the original segment range, several smaller scaled copies of it will appear in equal widths.

Available since:2.2

Parameters

name const gchar*
 

The gradient name.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
start_segment gint
 

The index of the first segment to operate on.

end_segment gint
 

The index of the last segment to operate on. If negative, the selection will extend to the end of the string.

replicate_times gint
 

The number of times to replicate.

Return value

Returns: gboolean
 

TRUE on success.