From aa45dea3f88fbedf59772363780dd04cc657f15e Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Sun, 27 Mar 2011 14:10:34 -0600 Subject: [PATCH] clean up drawing with 0-width pens (hairline mode) original commit: 95f0d16761721265df5bfff993e56d1b075b4941 --- doc/release-notes/racket/Draw_and_GUI_5_1.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/release-notes/racket/Draw_and_GUI_5_1.txt b/doc/release-notes/racket/Draw_and_GUI_5_1.txt index 75d625c2..1c8aef3c 100644 --- a/doc/release-notes/racket/Draw_and_GUI_5_1.txt +++ b/doc/release-notes/racket/Draw_and_GUI_5_1.txt @@ -108,6 +108,13 @@ generates PDF output. The new `svg-dc%' drawing context is similar to `post-script-dc%', but it generates SVG output. +All drawing contexts, including `post-script-dc%' support smoothing +modes, and the default is 'unsmoothed even for `post-script-dc%' --- +which means that PostScript drawing is aligned and pen widths are +truncated to integer sizes by default. Drawing at pen size 0 no longer +triggers ``hairline'' mode, but instead just uses a 1/4-width pen +when in 'smoothed mode. + Other Drawing-Context Changes -----------------------------