Skip to content

Commit 27030ed

Browse files
authored
Merge pull request #20 from NelleV/tacaswell_doc_lw_scale_api_changes
Small tweaks to API documentation on scaling dashes
2 parents b16705d + 8892fb2 commit 27030ed

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
Do not clip lw when scaling dashes
2-
``````````````````````````````````
1+
Do not clip line width when scaling dashes
2+
``````````````````````````````````````````
33

4-
Slightly change the algorithm to no longer clip the scaling factor,
5-
thus the patterns will continue to shrink at thin line widths. If the
6-
line width is smaller than the effective pixel size, this may result
7-
in dashed lines turning into solid gray lines. This also required
8-
slightly tweaking the default patterns for '--', ':', and '.-' so that
9-
with the default line-width the final patterns would not change.
4+
The algorithm to scale dashes was changed to no longer clip the
5+
scaling factor: the dash patterns now continue to shrink at thin line widths.
6+
If the line width is smaller than the effective pixel size, this may result in
7+
dashed lines turning into solid gray-ish lines. This also required slightly
8+
tweaking the default patterns for '--', ':', and '.-' so that with the default
9+
line width the final patterns would not change.
1010

11-
There is no way to restore the old behavior
11+
There is no way to restore the old behavior.

0 commit comments

Comments
 (0)