Re: What is SVGGraphicsElement.getBBox() expected to return for textPaths and tspans?
Robert Longson <[email protected]> Wed, 13 Jan 2016 23:40:03 +0000
| Newsgroups | gmane.comp.web.svg |
|---|---|
| Message-ID | <CAOu7Uv6CdWe09KvXKHUNT65Hn0-+DA0A4h2qxhUAhtGp2mkEZw@mail.gmail.com> |
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