Method

GimpGradientsegment_get_left_pos

Declaration [src]

gboolean
gimp_gradient_segment_get_left_pos (
  GimpGradient* gradient,
  gint segment,
  gdouble* pos
)

Description [src]

Gets the left endpoint position of a segment

Gets the position of the left endpoint of the segment of the gradient. Returns an error when the segment index is out of range.

Available since:2.2

Parameters

segment gint
 

The index of a segment within the gradient.

pos gdouble*
 

The return position.

 The argument will be set by the function.

Return value

Returns: gboolean
 

TRUE on success.