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

[svg2] getStrokeBBox functionality has been replaced with getBBox dictionary argument

From: Cameron McCormack <cam@mcc.id.au>
Date: Tue, 04 Feb 2014 15:19:07 +1100
Message-ID: <52F06A3B.6040204@mcc.id.au>
To: "www-svg@w3.org" <www-svg@w3.org>
Per our discussion during the F2F last week (resulting in ACTION-3581), 
I've removed getStrokeBBox from the SVG 2 draft and extended getBBox 
with an optional dictionary argument that can be used to select which 
parts of the element contribute to the resulting bounding box.  To that 
end I've added an algorithm that describes how to compute the bounding box:


And here is where getBBox invokes it:


Review for correctness appreciated, and from Dirk regarding the names of 
the dictionary members given our discussions about keywords in CSS Shapes.
Received on Tuesday, 4 February 2014 04:19:42 UTC

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