calc_y_for_x


Description:

public int calc_y_for_x (double x, out double y)

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:

this

a Path

x

x coordinate to compute for

y

return location for y coordinate




2022 vala-language.org