javascript - Calculating control points included in getBBox() of svg paths in safari and chrome -
This is related to this bug:
An arc (center, radius, startup, endangered) Looking at, I am able to calculate the points by the side of the path, then their bounding box, however, is a bug in safari and chrome, in which the bounding box contains the control points of the arc. Since the shield fills a shape applied to the bounding box, the result is slightly different in the shield covering the shape, whether the browser has this bug or not.
My question is: without using the real API (getBBox) I have a path to adjust for these parameters (center, radius, start angle, andange) given for the safari / chrome bug How can I calculate additional control points?
It's not working with Bezier's debt or even oval, just a simple circular arc.
Thank you! I wrote a getBBox shim for the webkit browser
/
Comments
Post a Comment