From c086b80ee14ff742be4f92039b5785c4e13742cd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Philippe=20Bruy=C3=A8re?= Date: Sun, 9 Jan 2022 11:45:49 +0100 Subject: [PATCH] use private _line_to in arc --- src/vkvg_context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vkvg_context.c b/src/vkvg_context.c index adfd05e..f645ab1 100644 --- a/src/vkvg_context.c +++ b/src/vkvg_context.c @@ -395,7 +395,7 @@ void vkvg_arc (VkvgContext ctx, float xc, float yc, float radius, float a1, floa _set_curve_start (ctx); _add_point (ctx, v.x, v.y); }else{ - vkvg_line_to(ctx, v.x, v.y); + _line_to(ctx, v.x, v.y); _set_curve_start (ctx); } @@ -443,7 +443,7 @@ void vkvg_arc_negative (VkvgContext ctx, float xc, float yc, float radius, float _set_curve_start (ctx); _add_point (ctx, v.x, v.y); }else{ - vkvg_line_to(ctx, v.x, v.y); + _line_to(ctx, v.x, v.y); _set_curve_start (ctx); } -- 2.47.3