diff options
| author | Bryce Harrington <b.harrington@samsung.com> | 2014-06-24 11:58:53 -0700 |
|---|---|---|
| committer | Bryce Harrington <b.harrington@samsung.com> | 2014-06-24 17:23:21 -0700 |
| commit | fb506c0829135d4ac35d0fbbdc76f19c6a58ca21 (patch) | |
| tree | bb1c68da62a2c4a413d8936b3592e0e4d6e740ef /src/cairo-shapes.cpp | |
| parent | 9dae77010a6efc5beb8b8b5cbe713c02494c87e0 (diff) | |
Add CB_FILL_RANDOM to select a random fill type
Also, make command line parsing of fill and shape types more strict
Diffstat (limited to 'src/cairo-shapes.cpp')
| -rw-r--r-- | src/cairo-shapes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-shapes.cpp b/src/cairo-shapes.cpp index 3eaac7d..ed8cb50 100644 --- a/src/cairo-shapes.cpp +++ b/src/cairo-shapes.cpp @@ -194,7 +194,7 @@ cairoDrawRandomizedShape(caskbench_context_t *ctx, shapes_t *shape) static const double dashed2[] = {14.0, 6.0}; // Shape Type - if (shape->shape_type == CB_SHAPE_NONE) + if (shape->shape_type == CB_SHAPE_RANDOM) shape->shape_type = generate_random_shape(); // Options for fill, gradient, and transparency |