Re: What is SVGGraphicsElement.getBBox() expected to return for textPaths and tspans?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: What is SVGGraphicsElement.getBBox() expected to return for textPaths and tspans?

Robert Longson
getBBox() works in local co-ordinates while Element.getBoundingClientRect works in global co-ordinates. 
They give pretty different results once transforms are involved. You can't really derive one from another.

Robert