W3C home > Mailing lists > Public > www-svg@w3.org > May 2014

Re: Bounding box of a group with a transformed child

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 27 May 2014 10:28:55 -0400
Message-ID: <5384A127.50809@mit.edu>
To: www-svg@w3.org
On 5/27/14, 10:01 AM, Paul LeBeau wrote:
> I'm not saying that there aren't potentially large variations between
> the cheat and the correct bbox.  Just that in most cases where you are
> applying a pattern or gradient, the shape probably has an aspect ration
> that is not far from 1:1.

The original example in this thread was a circle, which definitely has 
an aspect ratio of 1:1.  But the correct bounding box for a 
rotated-by-45-degrees circle is a factor of sqrt(2) smaller than the 
cheat bounding box.

Received on Tuesday, 27 May 2014 14:29:29 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:53 UTC