W3C home > Mailing lists > Public > www-svg@w3.org > January 2016

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

From: Robert Longson <longsonr@gmail.com>
Date: Wed, 13 Jan 2016 23:40:03 +0000
Message-ID: <CAOu7Uv6CdWe09KvXKHUNT65Hn0-+DA0A4h2qxhUAhtGp2mkEZw@mail.gmail.com>
To: www-svg@w3.org, sebastianzartner@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
Received on Wednesday, 13 January 2016 23:40:34 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:43 UTC