On Fri, Sep 16, 2005 at 11:56:58AM +0200, Stephen Schrenk wrote:
I believe there is a problem with the way bounding boxes are calculated. At the moment the calculation assumes that lines have a
Round< join and cap style if the stroke is visible.
Yes. This is a long-outstanding bug.
Disadvantage: More CPU intensive?
The easiest implementation of correct calculation is CPU expensive.
It may be possible to do a correct calculation without too much more CPU cost than at present, but just requires a bit more programming work.
Re expensive: bounding box calculations already take quite a bit of time in inkscape, which makes me think that they should be cached.
One other approach I thought of would be to change existing bbox calls to specify whether they want to err towards too small, too large, or correct even if it uses lots of CPU.
pjrm.