Re: [svg-developers] getBBox of a stroked object

2011-09-17 Thread Jeff Schiller
svg-edit uses its own getStrokedBBox() function: http://code.google.com/p/svg-edit/source/browse/trunk/editor/svgcanvas.js#645 which, as you say, was non-trivial. Jeff On Sat, Sep 17, 2011 at 7:11 AM, David Dailey wrote: > ** > > > I'm certain this topic has been discussed before (perhaps even

[svg-developers] getBBox of a stroked object

2011-09-17 Thread David Dailey
I'm certain this topic has been discussed before (perhaps even by me), so please forgive any duplication. In the example at http://granite.sru.edu/~ddailey/svg/B/bbox2.3.svg the bounding box around the curve (as drawn by script) does not factor in the stroke-width. Is there a method that does this?