2022-02-15 22:40:51 +03:30
|
|
|
#import <SVG/SVGElement.idl>
|
2024-04-01 00:49:02 +01:00
|
|
|
#import <Geometry/DOMRectReadOnly.idl>
|
|
|
|
|
|
|
|
|
|
dictionary SVGBoundingBoxOptions {
|
2024-09-10 16:21:16 +09:00
|
|
|
boolean fill = true;
|
|
|
|
|
boolean stroke = false;
|
|
|
|
|
boolean markers = false;
|
|
|
|
|
boolean clipped = false;
|
2024-04-01 00:49:02 +01:00
|
|
|
};
|
2022-02-15 22:40:51 +03:30
|
|
|
|
2022-10-07 16:45:09 -06:00
|
|
|
// https://svgwg.org/svg2-draft/types.html#InterfaceSVGGraphicsElement
|
|
|
|
|
[Exposed=Window]
|
2020-10-02 20:57:28 +01:00
|
|
|
interface SVGGraphicsElement : SVGElement {
|
2024-09-10 16:21:16 +09:00
|
|
|
[SameObject] readonly attribute SVGAnimatedTransformList transform;
|
2020-10-02 20:57:28 +01:00
|
|
|
|
2024-09-10 16:21:16 +09:00
|
|
|
DOMRect getBBox(optional SVGBoundingBoxOptions options = {});
|
2025-05-09 12:30:56 +02:00
|
|
|
DOMMatrix? getCTM();
|
2024-11-09 18:30:38 +01:00
|
|
|
DOMMatrix? getScreenCTM();
|
2020-12-09 21:26:42 +00:00
|
|
|
};
|