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

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

Issue 504623003: Implement skew*() methods in DOMMatrix. 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
« no previous file with comments | « Source/core/dom/DOMMatrix.h ('k') | Source/core/dom/DOMMatrix.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DOMMatrix.cpp
diff --git a/Source/core/dom/DOMMatrix.cpp b/Source/core/dom/DOMMatrix.cpp
index 93839ac1de68b58b57a091221852a8ec46461b7c..616cb4f119372e545a4b3de14f00bdd9014122b8 100644
--- a/Source/core/dom/DOMMatrix.cpp
+++ b/Source/core/dom/DOMMatrix.cpp
@@ -133,4 +133,16 @@ DOMMatrix* DOMMatrix::rotateAxisAngleSelf(
return this;
}
+DOMMatrix* DOMMatrix::skewXSelf(double sx)
+{
+ m_matrix.skewX(sx);
+ return this;
+}
+
+DOMMatrix* DOMMatrix::skewYSelf(double sy)
+{
+ m_matrix.skewY(sy);
+ return this;
+}
+
} // namespace blink
« no previous file with comments | « Source/core/dom/DOMMatrix.h ('k') | Source/core/dom/DOMMatrix.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698