diff options
| author | suyambulingamrm <suyambu.rm@samsung.com> | 2014-06-17 09:44:17 +0530 |
|---|---|---|
| committer | suyambulingamrm <suyambu.rm@samsung.com> | 2014-06-17 09:44:17 +0530 |
| commit | f5308083ac70ebd953094bde6f57da8a5cb9cd62 (patch) | |
| tree | 1ec474e9cce0d187204208857ffcb5763aff677d /src/cairo-tests/roundrect.cpp | |
| parent | cc5390f98140547b6bc159a2f24d8850c1c02e63 (diff) | |
Issue #95. Use correct radius value for roundrect.
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); |