Skip to content

Stroke placement

Migrated from https://bugs.launchpad.net/inkscape/+bug/170898 🕸

Original title: Facilitate outset/inset by half stroke width

Summary:

  • an option for stroke placement (inside/default centered/outside)

The Idea (original text):

Strokes are applied to shapes so that half of the stroke is inside the shape and half is outside. This is usually fine, but it makes partially transparent strokes look odd. You end up with TWO outlines around your object.

This could be fixed with an option to make strokes fall entirely outside the shape. The stroke would look like an outset, but work like a stroke.

Currently, you can sometimes get around the problem by using an outset and an invisible stroke. You end up with two objects making editing the shape much harder, and making it impossible to have a transparent shape because the outset is behind it. Also, doubling the number of complex shapes takes a lot of memory. This option would fix all of that.

starStroke.svg

Additional Information/Comments:

  • Another commenter added a request for an option of inner placement. His illustration of the request:

outset_inset.svg

  • Nominated for every release from 0.45.x to 0.91.x
  • 17 out of 23 total LaunchPad comments from 2005 to 2019 voted in emphatic favor

Migrator's Notes:

  • the greytomorrow challenge applies: if you find this is a duplicate, I owe you a beer. 🍻
  • this is one of SVG's (and by association, Inkscape's) "Elephant in the room." Unlike PostScript (or whatever underlying engine Corel Draw and the others use), SVG in any incarnation doesn't yet allow for stroke placement.
  • There are methods to overcome this deficiency but they are all, respectfully, inelegant hacks always involving a second object.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information