Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8892fb2

Browse filesBrowse files
committed
DOC small tweaks to API doc on scaling dashes
1 parent b16705d commit 8892fb2
Copy full SHA for 8892fb2

File tree

Expand file treeCollapse file tree

1 file changed

+9
-9
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+9
-9
lines changed
+9-9Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.