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

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

Issue 450533006: Implement scale*() methods in DOMMatrix. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: use TransformationMatrix 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/DOMMatrix.cpp ('k') | Source/core/dom/DOMMatrixReadOnly.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DOMMatrix.idl
diff --git a/Source/core/dom/DOMMatrix.idl b/Source/core/dom/DOMMatrix.idl
index e27a55cd8b1dcb5525f725cd8dc100c881749c23..96ac8fae48d465cc4a106d9947ea274f0b70e0ef 100644
--- a/Source/core/dom/DOMMatrix.idl
+++ b/Source/core/dom/DOMMatrix.idl
@@ -38,4 +38,17 @@
DOMMatrix translateSelf(unrestricted double tx,
unrestricted double ty,
optional unrestricted double tz = 0);
+ DOMMatrix scaleSelf(unrestricted double scale,
+ optional unrestricted double ox = 0,
+ optional unrestricted double oy = 0);
+ DOMMatrix scale3dSelf(unrestricted double scale,
+ optional unrestricted double ox = 0,
+ optional unrestricted double oy = 0,
+ optional unrestricted double oz = 0);
+ DOMMatrix scaleNonUniformSelf(unrestricted double sx,
+ optional unrestricted double sy = 1,
+ optional unrestricted double sz = 1,
+ optional unrestricted double ox = 0,
+ optional unrestricted double oy = 0,
+ optional unrestricted double oz = 0);
};
« no previous file with comments | « Source/core/dom/DOMMatrix.cpp ('k') | Source/core/dom/DOMMatrixReadOnly.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698