mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
20 lines
557 B
Plaintext
20 lines
557 B
Plaintext
#import <SVG/SVGElement.idl>
|
|
#import <Geometry/DOMRectReadOnly.idl>
|
|
|
|
dictionary SVGBoundingBoxOptions {
|
|
boolean fill = true;
|
|
boolean stroke = false;
|
|
boolean markers = false;
|
|
boolean clipped = false;
|
|
};
|
|
|
|
// https://svgwg.org/svg2-draft/types.html#InterfaceSVGGraphicsElement
|
|
[Exposed=Window]
|
|
interface SVGGraphicsElement : SVGElement {
|
|
[SameObject] readonly attribute SVGAnimatedTransformList transform;
|
|
|
|
DOMRect getBBox(optional SVGBoundingBoxOptions options = {});
|
|
[FIXME] DOMMatrix? getCTM();
|
|
DOMMatrix? getScreenCTM();
|
|
};
|