Skip to content

Commit

Permalink
Merge pull request #53 from danieljprice/fix-circle-bug
Browse files Browse the repository at this point in the history
(#52) fix circle drawing bug, resolves #52
  • Loading branch information
danieljprice authored Nov 29, 2024
2 parents 113fc35 + 9f8359d commit 7419e8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/giza-circle.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ giza_circle (double x, double y, double r)

_giza_set_trans (GIZA_TRANS_WORLD);

cairo_move_to (Dev[id].context, x+r, y);
cairo_arc (Dev[id].context, x, y, r, 0., 2 * M_PI);

_giza_fill ();
Expand Down

0 comments on commit 7419e8f

Please sign in to comment.