Skip to content

Commit

Permalink
(#48) update pen position after drawing a line with giza_draw
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljprice committed Dec 5, 2024
1 parent d55a5bd commit 1c3de19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/giza-draw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 ();
Expand Down

0 comments on commit 1c3de19

Please sign in to comment.