Method

GeglPathcalc_y_for_x

Declaration [src]

gint
gegl_path_calc_y_for_x (
  GeglPath* path,
  gdouble x,
  gdouble* y
)

Description [src]

Compute a corresponding y coordinate for a given x input coordinate, returns 0 if computed correctly and -1 if the path doesn’t exist for the specified x coordinate.

Parameters

x gdouble
 

X coordinate to compute for.

y gdouble*
 

Return location for y coordinate.

 The argument will be set by the function.

Return value

Returns: gint
  No description available.