aboutsummaryrefslogtreecommitdiff
path: root/puzzles.h
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2005-06-23 08:24:52 +0000
committerSimon Tatham <anakin@pobox.com>2005-06-23 08:24:52 +0000
commitb909204392c9567564ee048eeea3b529420e1c86 (patch)
tree2406345ce655d74e12d16b3de3cba88c327a54d8 /puzzles.h
parent973ced1c7cfced5cb825841365058290821e81d2 (diff)
downloadpuzzles-b909204392c9567564ee048eeea3b529420e1c86.zip
puzzles-b909204392c9567564ee048eeea3b529420e1c86.tar.gz
puzzles-b909204392c9567564ee048eeea3b529420e1c86.tar.bz2
puzzles-b909204392c9567564ee048eeea3b529420e1c86.tar.xz
Introduce a front-end function to draw circles.
[originally from svn r5991]
Diffstat (limited to 'puzzles.h')
-rw-r--r--puzzles.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/puzzles.h b/puzzles.h
index 987bd9b..ed1fef6 100644
--- 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);