Searched refs:seed (Results 1 - 12 of 12) sorted by relevance

/inkscape/cxxtest/sample/mock/T/
H A Dstdlib.h9 CXXTEST_MOCK_VOID_GLOBAL( srand, ( unsigned seed ), ( seed ) );
/inkscape/cxxtest/sample/mock/
H A DMockStdlib.h11 void srand( unsigned seed )
13 lastSeed = seed;
/inkscape/src/display/
H A Dnr-filter-turbulence.h61 void turbulenceInit(long seed);
65 double seed; member in class:Inkscape::Filters::FilterTurbulence
H A Dnr-filter-turbulence.cpp49 void init(long seed, Geom::Rect const &tile, Geom::Point const &freq, bool stitch, argument
53 _setupSeed(seed);
255 void _setupSeed(long seed) { argument
256 _seed = seed;
266 * as the 10,000th generated number if the original seed is 1. */
323 , seed(0)
353 seed = s;
401 gen->init(seed, Geom::Rect(ta, tb),
/inkscape/src/live_effects/parameter/
H A Drandom.cpp38 seed = startseed;
92 seed = startseed;
111 seed = startseed;
164 result = RAND_a * (seed % RAND_q) - RAND_r * (seed / RAND_q);
166 seed = result;
H A Drandom.h49 long seed; member in class:Inkscape::LivePathEffect::RandomParam
/inkscape/src/filters/
H A Dturbulence.h33 double seed; member in class:SPFeTurbulence
H A Dturbulence.cpp29 this->seed = 0;
50 this->readAttr( "seed" );
141 if (read_num != this->seed){
142 this->seed = read_num;
217 nr_turbulence->set_seed(this->seed);
/inkscape/src/live_effects/
H A Dlpe-roughen.h66 long seed; member in class:Inkscape::LivePathEffect::LPERoughen
H A Dlpe-roughen.cpp89 seed = 0;
97 if(spray_tool_friendly && seed == 0 && SP_OBJECT(lpeitem)->getId()){
99 long seed = static_cast<long>(boost::hash_value(id_item)); local
100 global_randomize.param_set_value(global_randomize.get_value(), seed);
/inkscape/src/
H A Dsp-star.cpp297 Returns a random number in the range [-0.5, 0.5) from the given seed, stepping the given number of steps from the seed.
300 rnd (guint32 const seed, unsigned steps) { argument
301 guint32 lcg = seed;
351 // the seed corresponding to the exact point
352 guint32 seed = point_unique_int (o); local
354 // randomly rotate (by step 3 from the seed) and scale (by step 4) the vector
355 ret = ret * Geom::Affine (Geom::Rotate (star->randomized * M_PI * rnd (seed, 3)));
356 ret *= ( 1 + star->randomized * rnd (seed, 4));
586 // find out the seed, uniqu
587 guint32 seed = point_unique_int (xy); local
[all...]
/inkscape/share/extensions/
H A Dvoronoi2svg.py359 random.seed("inkscape")

Completed in 683 milliseconds