diff options
Diffstat (limited to 'src/cairo-tests/roundrect.cpp')
| -rw-r--r-- | src/cairo-tests/roundrect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-tests/roundrect.cpp b/src/cairo-tests/roundrect.cpp index 3b05cd7..789a369 100644 --- a/src/cairo-tests/roundrect.cpp +++ b/src/cairo-tests/roundrect.cpp @@ -63,7 +63,7 @@ ca_test_roundrect(caskbench_context_t *ctx) shape.height = 40; /* line_width cannot be more than twice of radius due to skia limitation - Issue #4 in skia https://github.com/Samsung/skia/issues/4 */ - shape.stroke_width = (double)rand()/RAND_MAX * (2*radius); + shape.stroke_width = (double)rand()/RAND_MAX * (2*shape.radius); cairoDrawRoundedRectangle(ctx, &shape); |