Method

GeglRandomint_range

Declaration [src]

gint32
gegl_random_int_range (
  const GeglRandom* rand,
  gint x,
  gint y,
  gint z,
  gint n,
  gint min,
  gint max
)

Description [src]

Return a random integer 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 gint
 

Minimum value.

max gint
 

Maximum value+1

Return value

Returns: gint32
  No description available.