
The intent is to use these to autogenerate prototype declarations for Window and WorkerGlobalScope classes. And the spec links are just nice to have :^)
11 lines
290 B
Text
11 lines
290 B
Text
#import <Geometry/DOMPoint.idl>
|
|
#import <SVG/SVGGraphicsElement.idl>
|
|
|
|
// https://svgwg.org/svg2-draft/types.html#InterfaceSVGGeometryElement
|
|
[Exposed=Window]
|
|
interface SVGGeometryElement : SVGGraphicsElement {
|
|
|
|
float getTotalLength();
|
|
DOMPoint getPointAtLength(float distance);
|
|
|
|
};
|