ladybird/Libraries/LibWeb/SVG/SVGGraphicsElement.idl
Andreas Kling 2194cbde4b LibWeb: Stub out SVGGraphicsElement.getCTM()
We already did this for getScreenCTM().
2025-05-16 20:36:07 +02:00

19 lines
549 B
Text

#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 = {});
DOMMatrix? getCTM();
DOMMatrix? getScreenCTM();
};