diff options
| author | suyambulingamrm <suyambu.rm@samsung.com> | 2014-05-27 19:55:45 +0530 |
|---|---|---|
| committer | suyambulingamrm <suyambu.rm@samsung.com> | 2014-05-27 19:55:45 +0530 |
| commit | 8e77b0d253afadcc543acc0463c062b9bd7857df (patch) | |
| tree | 7eebcb4fc44746e1fd44906c7bc02ab9bc8e4c23 /src/cairo-shapes.cpp | |
| parent | cdef3d98a2e713644c972ebc7ba756f25b57efdc (diff) | |
Minor issue fixes which produced incorrect output with respect to cairo and skia shapes.
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 5016909..5597b26 100644 --- a/src/cairo-shapes.cpp +++ b/src/cairo-shapes.cpp @@ -121,7 +121,7 @@ cairoDrawRoundedRectangle (caskbench_context_t *ctx, shapes_t *args) double w = args->width; double x = args->x; double y = args->y; - double r = args->radius; + double r = 4.0; /* To make the output in sync with skia */ cairo_move_to (ctx->cairo_cr, x + r, y); cairo_arc (ctx->cairo_cr, x + w - r, y + r, r, M_PI + M_PI / 2, M_PI * 2 ); cairo_arc (ctx->cairo_cr, x + w - r, y + h - r, r, 0, M_PI / 2 ); |