X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/4011952cc6b338217e904e4a38d9a2414258fa36..b725220b2f16c89753a2e3bcf793d4822fe3b35c:/puzzles.h diff --git a/puzzles.h b/puzzles.h index a97746c..971cb29 100644 --- a/puzzles.h +++ b/puzzles.h @@ -184,6 +184,8 @@ void draw_polygon(drawing *dr, int *coords, int npoints, int fillcolour, int outlinecolour); void draw_circle(drawing *dr, int cx, int cy, int radius, int fillcolour, int outlinecolour); +void draw_thick_line(drawing *dr, float thickness, + float x1, float y1, float x2, float y2, int colour); void clip(drawing *dr, int x, int y, int w, int h); void unclip(drawing *dr); void start_draw(drawing *dr); @@ -519,6 +521,9 @@ struct drawing_api { void (*line_dotted)(void *handle, int dotted); char *(*text_fallback)(void *handle, const char *const *strings, int nstrings); + void (*draw_thick_line)(void *handle, float thickness, + float x1, float y1, float x2, float y2, + int colour); }; /*