Geometric and Visual bounding box and object dimensions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
Diederik van Lierop |
Bug Description
In the Inkscape 0.46 you can choose to work with geometric (stroke width does not matter) or visual (stroke width included) bounding box.
It would be great if the objects size and position would be depending on the bounding box, so geometric Bbox would report always a smaller or equal sized object as the visual Bbox.
Steps to reproduce:
1. paint a simple box with a thick stroke
2. set inkscape to use visual bounding boxes so the drawn box including its stroke fits into the Bbox
3. look at the dimensions of the drawn box
4. set inkscape to use geometric bounding boxes. now the bounding box will be going through the center of the stroke
5. take notice of the dimensions. they are still the same unless visible the bounding box is smaller.
a work around can be provided by allowing to choose whether strokes are drawn ON the geometric border, or as an INNER or OUTER stroke.
Related branches
tags: | added: ui ui-selection-group-layer |
Changed in inkscape: | |
importance: | Undecided → Medium |
Changed in inkscape: | |
milestone: | none → 0.49 |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
When the type of bounding box is changed, the object doesn't change at all. Therefore the dimensions will stay the same and needn't be updated. The only thing that changes is the size of bounding box, but this is not a part of the object. It's only defining where Inkscape draws it handles and where it snaps, so it's just a "tool" that Inkscape uses.
It's not the bounding box that defines the object, it's the object that defines the bounding box!