Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(622)

Unified Diff: third_party/WebKit/Source/core/svg/SVGGeometryElement.idl

Issue 2413753004: Move getTotalLength and getPointAtLength methods from SVGPathElement to SVGGeometryElement. (Closed)
Patch Set: Align with review comments Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/svg/SVGGeometryElement.idl
diff --git a/third_party/WebKit/Source/core/svg/SVGGeometryElement.idl b/third_party/WebKit/Source/core/svg/SVGGeometryElement.idl
index 0977d57b02fc804916fd004476127dc63d674719..f3ed63ad2bb27fc8fce3f2f8fa5b4bce9c1920e3 100644
--- a/third_party/WebKit/Source/core/svg/SVGGeometryElement.idl
+++ b/third_party/WebKit/Source/core/svg/SVGGeometryElement.idl
@@ -34,4 +34,6 @@ interface SVGGeometryElement : SVGGraphicsElement {
// TODO(foolip): SVGPoint should be DOMPoint.
boolean isPointInFill(SVGPoint point);
boolean isPointInStroke(SVGPoint point);
+ float getTotalLength();
+ SVGPoint getPointAtLength(float distance);
};
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGGeometryElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGPathElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698