diff options
| author | Rick Yorgason <rick@firefang.com> | 2018-10-18 03:06:34 +0000 |
|---|---|---|
| committer | Rick Yorgason <rick@firefang.com> | 2018-10-18 03:06:34 +0000 |
| commit | 33131a183f9f34d798a741f317a91d87537684f6 (patch) | |
| tree | 5753465248676eb17c48029e676e99ed69ad37e8 /src/verbs.cpp | |
| parent | Code cleanup and adding comments. (diff) | |
| download | inkscape-33131a183f9f34d798a741f317a91d87537684f6.tar.gz inkscape-33131a183f9f34d798a741f317a91d87537684f6.zip | |
New "Outline thin strokes" view mode which draws thin strokes in outline mode so they're easier to see, while still drawing everything else normally. Very useful for making hairline strokes (0.001") for laser cutters.
Diffstat (limited to 'src/verbs.cpp')
| -rw-r--r-- | src/verbs.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/verbs.cpp b/src/verbs.cpp index 47c532a3f..2c7cfb25f 100644 --- a/src/verbs.cpp +++ b/src/verbs.cpp @@ -2132,6 +2132,9 @@ void ZoomVerb::perform(SPAction *action, void *data) case SP_VERB_VIEW_MODE_OUTLINE: dt->setDisplayModeOutline(); break; + case SP_VERB_VIEW_MODE_OUTLINE_THIN: + dt->setDisplayModeOutlineThin(); + break; case SP_VERB_VIEW_MODE_TOGGLE: dt->displayModeToggle(); break; @@ -3108,6 +3111,8 @@ Verb *Verb::_base_verbs[] = { N_("Switch to normal display without filters"), nullptr), new ZoomVerb(SP_VERB_VIEW_MODE_OUTLINE, "ViewModeOutline", N_("_Outline"), N_("Switch to outline (wireframe) display mode"), nullptr), + new ZoomVerb(SP_VERB_VIEW_MODE_OUTLINE_THIN, "ViewModeOutlineThin", N_("O_utline thin strokes"), + N_("Outline strokes that are smaller than 1 pixel and draw the rest normally"), nullptr), new ZoomVerb(SP_VERB_VIEW_MODE_TOGGLE, "ViewModeToggle", N_("_Toggle"), N_("Toggle between normal and outline display modes"), nullptr), new ZoomVerb(SP_VERB_VIEW_COLOR_MODE_NORMAL, "ViewColorModeNormal", N_("_Normal"), |
