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

Unified Diff: Source/core/dom/DOMMatrix.idl

Issue 479863002: Implement rotate*() methods in DOMMatrix. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add rotateFromVector and rotateAxisAngle Created 6 years, 4 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: Source/core/dom/DOMMatrix.idl
diff --git a/Source/core/dom/DOMMatrix.idl b/Source/core/dom/DOMMatrix.idl
index 96ac8fae48d465cc4a106d9947ea274f0b70e0ef..725e9a2c1e2d2178cc20732b4b82a00427984d7e 100644
--- a/Source/core/dom/DOMMatrix.idl
+++ b/Source/core/dom/DOMMatrix.idl
@@ -51,4 +51,13 @@
optional unrestricted double ox = 0,
optional unrestricted double oy = 0,
optional unrestricted double oz = 0);
+ DOMMatrix rotateSelf(unrestricted double angle,
+ optional unrestricted double ox = 0,
+ optional unrestricted double oy = 0);
+ DOMMatrix rotateFromVectorSelf(unrestricted double x,
+ unrestricted double y);
+ DOMMatrix rotateAxisAngleSelf(unrestricted double x,
+ unrestricted double y,
+ unrestricted double z,
+ unrestricted double angle);
};

Powered by Google App Engine
This is Rietveld 408576698