From: Jean-Philippe Bruyère Date: Sun, 9 Jan 2022 10:45:49 +0000 (+0100) Subject: use private _line_to in arc X-Git-Tag: v0.3.0-beta~20 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=c086b80ee14ff742be4f92039b5785c4e13742cd;p=jp%2Fvkvg.git use private _line_to in arc --- 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); }