Returns the bounding box of an SVG path.
As this is meant for display cutouts we operate on integer (whole pixel) values. When parsing fails, `FALSE` is returned and `error` contains the error information.
| path |
An SVG path |
| x1 |
The lower x coordinate |
| x2 |
The upper x coordinate |
| y1 |
The lower y coordinate |
| y2 |
The upper y coordinate |
|
`TRUE` when parsing was successful, `FALSE` otherwise. See https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths for path syntax introduction. |