Method

GeglRandomfloat_range

Declaration [src]

gfloat
gegl_random_float_range (
  const GeglRandom* rand,
  gint x,
  gint y,
  gint z,
  gint n,
  gfloat min,
  gfloat max
)

Description [src]

Return a random floating point number in the range specified, for the given x,y coordinates and GeglRandom provided, if multiple different numbers are needed pass in incrementing n’s.

Parameters

x gint
 

X coordinate.

y gint
 

Y coordinate.

z gint
 

Z coordinate (mipmap level)

n gint
 

Number no (each x,y coordinate provides its own sequence of numbers.

min gfloat
 

Minimum value.

max gfloat
 

Maximum value.

Return value

Returns: gfloat
  No description available.