Feature request - allow Stroke to be either margin or padding

Summary:

Currently if you add a stroke to an object it changes both the object's position AND fill size to compensate.

In other words, if this were HTML box model, stroke acts like half a margin plus half a padding simultaneously. This is awful and tedious when trying to create objects of a fixed size with a border - you keep having to recalculate the area you want plus half the stroke size and alter the position minus half the stroke size on every object.

See here: box_model

I'm making a feature request that in Preferences we have an option to set the stroke of an object to be either: average (the current weirdness), or margin/outer, or padding/inner.

  • Margin - keeps the fill size the same and changes the object total size and start location
  • Padding - changes the fill size and keeps the object total size and start location the same

Version info

Inkscape 1.1.2 (b8e25be833, 2022-02-05)

Edited by Richard JE Cooke