Hi all,
I just committed an improved bbox calculation when SPItem::RENDERING_BBOX precision is requested. Now it correctly includes stroke endcaps.
This fixes an important bug: when creating a pattern from selected objects, the bbox calculation was not accurate enough for paths with butt caps. This meant it was not easy to make a pattern of a plus to create a hatch fill pattern. (the plusses would not connect with each other) Now this works as easy as it should.
I have also increased the precision of the bbox calculation for fitting the canvas to the selection and for turning the selection into a marker.
Note that the improved RENDERING_BBOX calculation takes more time than before (in fact, RENDERING_BBOX used to be the same as APPROXIMATE_BBOX).
Ciao, Johan