diff options
Diffstat (limited to 'ps.c')
| -rw-r--r-- | ps.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -204,7 +204,7 @@ static void ps_unclip(void *handle) assert(ps->clipped); ps_printf(ps, "grestore\n"); - ps->clipped = FALSE; + ps->clipped = false; } static void ps_clip(void *handle, int x, int y, int w, int h) @@ -222,7 +222,7 @@ static void ps_clip(void *handle, int x, int y, int w, int h) ps_printf(ps, "newpath %g %g moveto %d 0 rlineto 0 %d rlineto" " %d 0 rlineto closepath\n", x - 0.5, y + 0.5, w, -h, -w); ps_printf(ps, "clip\n"); - ps->clipped = TRUE; + ps->clipped = true; } static void ps_line_width(void *handle, float width) @@ -353,7 +353,7 @@ static void ps_begin_puzzle(void *handle, float xm, float xc, "%g dup scale\n" "0 -%d translate\n", xm, xc, ym, yc, wmm/pw, ph); ps->ytop = ph; - ps->clipped = FALSE; + ps->clipped = false; ps->gamewidth = pw; ps->gameheight = ph; ps->hatchthick = 0.2 * pw / wmm; @@ -415,7 +415,7 @@ psdata *ps_init(FILE *outfile, bool colour) ps->fp = outfile; ps->colour = colour; ps->ytop = 0; - ps->clipped = FALSE; + ps->clipped = false; ps->hatchthick = ps->hatchspace = ps->gamewidth = ps->gameheight = 0; ps->drawing = drawing_new(&ps_drawing, NULL, ps); |