From 00fa0c9f7a75163951f748b3e7d2fe2b208648ca Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Philippe=20Bruy=C3=A8re?= Date: Wed, 12 Jan 2022 22:19:36 +0100 Subject: [PATCH] elliptical arc step limit reduced --- src/vkvg_context_internal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vkvg_context_internal.c b/src/vkvg_context_internal.c index 1858232..c5c6279 100644 --- a/src/vkvg_context_internal.c +++ b/src/vkvg_context_internal.c @@ -1453,7 +1453,7 @@ void _elliptic_arc (VkvgContext ctx, float x1, float y1, float x2, float y2, boo double theta = sa; double ea = sa + delta_theta; - float step = fmaxf(0.0001f, fminf(M_PI, _get_arc_step(ctx, fminf (rx, ry))*0.1f)); + float step = fmaxf(0.001f, fminf(M_PI, _get_arc_step(ctx, fminf (rx, ry))*0.1f)); p = (vec2) { rx * cosf (theta), -- 2.47.3