From 1c3de19e4ea4cd9c7fac26e57d5d07ff90e56fce Mon Sep 17 00:00:00 2001 From: Daniel Price Date: Fri, 6 Dec 2024 08:47:42 +1100 Subject: [PATCH] (#48) update pen position after drawing a line with giza_draw --- src/giza-draw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/giza-draw.c b/src/giza-draw.c index 8e2c693..3221ab8 100644 --- a/src/giza-draw.c +++ b/src/giza-draw.c @@ -47,6 +47,7 @@ giza_draw (double xpt, double ypt) int oldTrans = _giza_get_trans (); _giza_set_trans (GIZA_TRANS_WORLD); cairo_line_to (Dev[id].context, xpt, ypt); + cairo_move_to (Dev[id].context, xpt, ypt); _giza_stroke (); giza_flush_device ();