Random
Object Hierarchy:
Description:
[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "gegl_random_get_type ()" ) ]
[ Compact ]
public class Random
Content:
Creation methods:
Methods:
- public Random duplicate ()
Return a new copy of an existing GeglRandom
- public float float (int x, int y, int z, int n)
Return a random floating point number in range 0.0 .
- public float float_range (int x, int y, int z, int n, float min, float max)
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.
- public void free ()
- public uint32 int (int x, int y, int z, int n)
Return a random integer number in range 0 .
- public int32 int_range (int x, int y, int z, int n, int min, int max)
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.
- public void set_seed (uint32 seed)
Change the seed of an existing GeglRandom.