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

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: 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 c6497e5f3bc289ffa82c5e07c6263208a00d8e97..aee1276497f1b2872c7785f2a5fa2b4668dd54fd 100644
--- a/Source/core/dom/DOMMatrix.idl
+++ b/Source/core/dom/DOMMatrix.idl
@@ -34,4 +34,17 @@
attribute unrestricted double m44;
// FIXME: Should implement some methods (See: crbug.com/388780)
+ 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);
};

Powered by Google App Engine
This is Rietveld 408576698