X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/63ed24043747435fc5b67339248426ca236e0739..7fb7e7c120bf5d4e2dba21f1a76ea98c51b5b818:/devel.but diff --git a/devel.but b/devel.but index 45e05d6..4783b06 100644 --- a/devel.but +++ b/devel.but @@ -2143,6 +2143,22 @@ however, that it is a hint only: the central printing system may choose to vary line thicknesses at user request or due to printer capabilities. +\S{print-line-dotted} \cw{print_line_dotted()} + +\c void print_line_dotted(drawing *dr, int dotted); + +This function is called to toggle the drawing of dotted lines during +printing. It is not supported during drawing. + +The parameter \cq{dotted} is a boolean; \cw{TRUE} means that future +lines drawn by \cw{draw_line()}, \cw{draw_circle} and +\cw{draw_polygon()} will be dotted, and \cw{FALSE} means that they +will be solid. + +Some front ends may impose restrictions on the width of dotted +lines. Asking for a dotted line via this front end will override any +line width request if the front end requires it. + \H{drawing-frontend} The drawing API as implemented by the front end This section describes the drawing API in the function-pointer form @@ -2528,6 +2544,15 @@ without closing the window...) Frees a mid-end structure and all its associated data. +\H{midend-tilesize} + +\c int midend_tilesize(midend *me); + +Returns the \cq{tilesize} parameter being used to display the +current puzzle. + +\k{backend-preferred-tilesize} + \H{midend-set-params} \cw{midend_set_params()} \c void midend_set_params(midend *me, game_params *params);