Re: Bounding box of a group with a transformed child

Yeah good point.  That was a bad argument anyway because fills are
transformed along with the object.  So they aren't affected.  Filters will
be, but most of them won't be visually altered by a filter region that is a
bit too large.

sqrt(2) is the biggest error for a single object.  But if you have a group
of objects, chances are high that the error will be much lower when the
bboxes are unioned.

Paul



On 28 May 2014 02:28, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> 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.
>
> -Boris
>
>

Received on Tuesday, 27 May 2014 15:09:07 UTC