From 407f29c46f35910ce3d7ddd41f13e94213c2597e Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sun, 22 Feb 2009 12:05:38 +0000 Subject: Introduce some infrastructure to permit games' print functions to draw dotted lines. No puzzle yet uses this, but one's about to. [originally from svn r8453] --- drawing.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'drawing.c') diff --git a/drawing.c b/drawing.c index b582b8f..26df1ff 100644 --- a/drawing.c +++ b/drawing.c @@ -283,3 +283,8 @@ void print_line_width(drawing *dr, int width) */ dr->api->line_width(dr->handle, (float)sqrt(dr->scale) * width); } + +void print_line_dotted(drawing *dr, int dotted) +{ + dr->api->line_dotted(dr->handle, dotted); +} -- cgit v1.1