diff options
| author | Bryce Harrington <b.harrington@samsung.com> | 2014-04-24 00:14:09 -0700 |
|---|---|---|
| committer | Bryce Harrington <b.harrington@samsung.com> | 2014-04-24 00:14:09 -0700 |
| commit | e391ae2091be6d736dee7734b0a9e4c2beaddef5 (patch) | |
| tree | ea5989326b67963bc80c7272b54d2f44b0a4a232 /src/cairo-tests/stroke.cpp | |
| parent | cef0f06a4d8105d31af57f3dace28d4e92cbbeb8 (diff) | |
Add cairoRandomizeColor and skiaRandomizeColor
Diffstat (limited to 'src/cairo-tests/stroke.cpp')
| -rw-r--r-- | src/cairo-tests/stroke.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cairo-tests/stroke.cpp b/src/cairo-tests/stroke.cpp index e80d529..9ecda3b 100644 --- a/src/cairo-tests/stroke.cpp +++ b/src/cairo-tests/stroke.cpp @@ -124,10 +124,9 @@ void drawStroke(caskbench_context_t *ctx,kinetics_t *particles) for (i=0; i<num_x_elements; i++) { x = particles?particles->x : i * element_spacing; cairo_set_line_cap(cr,(cairo_line_cap_t)(i % 3)); - randomize_color(cr); + cairoRandomizeColor(ctx); drawShape(ctx,x,y); cairo_stroke (cr); - } } } |