chiark / gitweb /
Introduce a front-end function to draw circles.
[sgt-puzzles.git] / puzzles.h
index 987bd9b7b62eff749811d81ef805a3f8604a16d8..ed1fef6896230ef54e5051df21cc8f1fccd3273c 100644 (file)
--- a/puzzles.h
+++ b/puzzles.h
@@ -137,6 +137,8 @@ void draw_rect(frontend *fe, int x, int y, int w, int h, int colour);
 void draw_line(frontend *fe, int x1, int y1, int x2, int y2, int colour);
 void draw_polygon(frontend *fe, int *coords, int npoints,
                   int fill, int colour);
+void draw_circle(frontend *fe, int cx, int cy, int radius,
+                 int fill, int colour);
 void clip(frontend *fe, int x, int y, int w, int h);
 void unclip(frontend *fe);
 void start_draw(frontend *fe);