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

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: use testharnessreport.js 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
« no previous file with comments | « 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 cb91b5b61a94092d6deb5a16ce25090988e53f35..730bf941c10b38767314fbc0a9b242723827dad7 100644
--- a/Source/core/dom/DOMMatrixReadOnly.idl
+++ b/Source/core/dom/DOMMatrixReadOnly.idl
@@ -53,6 +53,16 @@
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);
+
Float32Array toFloat32Array();
Float64Array toFloat64Array();
};
« no previous file with comments | « Source/core/dom/DOMMatrixReadOnly.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698