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

Unified Diff: Source/core/dom/DOMMatrixReadOnly.h

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/DOMMatrixReadOnly.h
diff --git a/Source/core/dom/DOMMatrixReadOnly.h b/Source/core/dom/DOMMatrixReadOnly.h
index 1d99724d223edcf840d05dedcf67745e0ba94d01..2f12ad1987056df75537b5cf14c07c67bb9060d8 100644
--- a/Source/core/dom/DOMMatrixReadOnly.h
+++ b/Source/core/dom/DOMMatrixReadOnly.h
@@ -38,6 +38,11 @@ public:
bool is2D() const;
bool isIdentity() const;
+ DOMMatrix* scale(double scale, double ox = 0, double oy = 0);
+ DOMMatrix* scale3d(double scale, double ox = 0, double oy = 0, double oz = 0);
+ DOMMatrix* scaleNonUniform(double sx, double sy = 1, double sz = 1,
+ double ox = 0, double oy = 0, double oz = 0);
+
void trace(Visitor*) { }
protected:

Powered by Google App Engine
This is Rietveld 408576698