chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Introduce some infrastructure to permit games' print functions to
[sgt-puzzles.git]
/
drawing.c
diff --git
a/drawing.c
b/drawing.c
index b582b8f9150e5bc242e06af1acc1f383319de9d9..26df1fffd09edd5b6ab8579388c6aa6e0c30d232 100644
(file)
--- 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);
+}