- From: Paul LeBeau via GitHub <sysbot+gh@w3.org>
- Date: Sun, 26 Nov 2017 00:08:57 +0000
- To: public-svg-issues@w3.org
There is a *very* common request on Stack Overflow to get the bounds of an element **including** its own transform. IOW returning `{x:50, y:0, width:100, height:100}` for
<rect width="100" height="100" transform="translate(50,0)"/>
So it would be good to consider this use case in any solution.
So, using my previous suggestion, for example:
dictionary SVGBoundingBoxOptions {
boolean fill = true;
boolean stroke = false;
boolean markers = false;
boolean clipped = false;
boolean selfTransform = false;
boolean ancestorTransforms = false;
};
--
GitHub Notification of comment by BigBadaboom
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/76#issuecomment-346974657 using your GitHub account
Received on Sunday, 26 November 2017 00:09:01 UTC