summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/SVG/SVGGeometryElement.idl
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-07-12 20:07:35 +0200
committerAndreas Kling <kling@serenityos.org>2022-07-12 23:12:11 +0200
commit04cc837db9917d05eb70aab602e6f0fdd34fe1d4 (patch)
tree78bf5dcd30402c6ff7e25c3b664a99be19901980 /Userland/Libraries/LibWeb/SVG/SVGGeometryElement.idl
parente883777a18a2f8f94329985b8cc85c0c977bec90 (diff)
downloadserenity-04cc837db9917d05eb70aab602e6f0fdd34fe1d4.zip
LibWeb: Stub out two functions on SVGGeometryElement
These two were called by Discord while loading: - float getTotalLength(); - DOMPoint getPointAtLength(float distance);
Diffstat (limited to 'Userland/Libraries/LibWeb/SVG/SVGGeometryElement.idl')
-rw-r--r--Userland/Libraries/LibWeb/SVG/SVGGeometryElement.idl4
1 files changed, 4 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/SVG/SVGGeometryElement.idl b/Userland/Libraries/LibWeb/SVG/SVGGeometryElement.idl
index 437cc278eb..047fddf84c 100644
--- a/Userland/Libraries/LibWeb/SVG/SVGGeometryElement.idl
+++ b/Userland/Libraries/LibWeb/SVG/SVGGeometryElement.idl
@@ -1,5 +1,9 @@
+#import <Geometry/DOMPoint.idl>
#import <SVG/SVGGraphicsElement.idl>
interface SVGGeometryElement : SVGGraphicsElement {
+ float getTotalLength();
+ DOMPoint getPointAtLength(float distance);
+
};