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

Unified Diff: Source/core/dom/DOMMatrixReadOnly.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
« Source/core/dom/DOMMatrix.cpp ('K') | « Source/core/dom/DOMMatrixReadOnly.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DOMMatrixReadOnly.idl
diff --git a/Source/core/dom/DOMMatrixReadOnly.idl b/Source/core/dom/DOMMatrixReadOnly.idl
index 6e3c763eb99f490a0452a34519c1895554c6d241..3e5b655822e58eae6731128fb0c954bfefd8dec6 100644
--- a/Source/core/dom/DOMMatrixReadOnly.idl
+++ b/Source/core/dom/DOMMatrixReadOnly.idl
@@ -52,4 +52,13 @@
optional unrestricted double ox = 0,
optional unrestricted double oy = 0,
optional unrestricted double oz = 0);
+ DOMMatrix rotate(unrestricted double angle,
+ optional unrestricted double ox = 0,
+ optional unrestricted double oy = 0);
+ DOMMatrix rotateFromVector(unrestricted double x,
+ unrestricted double y);
+ DOMMatrix rotateAxisAngle(unrestricted double x,
+ unrestricted double y,
+ unrestricted double z,
+ unrestricted double angle);
};
« Source/core/dom/DOMMatrix.cpp ('K') | « Source/core/dom/DOMMatrixReadOnly.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698