Searched defs:rand (Results 1 - 5 of 5) sorted by relevance

/inkscape/cxxtest/sample/mock/
H A DMockStdlib.h18 int rand() function in class:MockStdlib
H A DTestDice.h51 class Five : public T::Base_rand { int rand() { return 5; } }; function in class:TestDice::Five
/inkscape/src/live_effects/parameter/
H A Drandom.cpp141 return rand() * value;
161 RandomParam::rand() function in class:Inkscape::LivePathEffect::RandomParam
/inkscape/src/ui/tools/
H A Dspray-tool.cpp453 Randomizes \a val by \a rand, with 0 < val < 1 and all values (including 0, 1) having the same
456 double randomize01(double val, double rand) argument
458 double base = MIN (val - rand, 1 - 2*rand);
462 val = base + g_random_double_range (0, MIN (2 * rand, 1 - base));
/inkscape/src/ui/dialog/
H A Dclonetiler.cpp2213 Randomizes \a val by \a rand, with 0 < val < 1 and all values (including 0, 1) having the same
2216 double CloneTiler::randomize01(double val, double rand) argument
2218 double base = MIN (val - rand, 1 - 2*rand);
2222 val = base + g_random_double_range (0, MIN (2 * rand, 1 - base));

Completed in 34 milliseconds