From 2d78232b3619bf2704b27a5e85935430ec6d6bb7 Mon Sep 17 00:00:00 2001 From: suyambulingamrm Date: Mon, 2 Jun 2014 12:34:15 +0530 Subject: Issue #69. Update radius properly in animation case. --- src/cairo-tests/animation.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cairo-tests/animation.cpp') diff --git a/src/cairo-tests/animation.cpp b/src/cairo-tests/animation.cpp index 15f61c3..5fa4257 100644 --- a/src/cairo-tests/animation.cpp +++ b/src/cairo-tests/animation.cpp @@ -57,6 +57,8 @@ ca_test_animation(caskbench_context_t *ctx) shape.height = particle->height; shape.x = particle->x; shape.y = particle->y; + if (!shape.radius) + shape.radius = 40; cairoDrawRandomizedShape(ctx, &shape); } -- cgit v1.3.1-4-g156e