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

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

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/DOMMatrix.idl ('k') | Source/core/dom/DOMMatrixReadOnly.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DOMMatrixReadOnly.h
diff --git a/Source/core/dom/DOMMatrixReadOnly.h b/Source/core/dom/DOMMatrixReadOnly.h
index 5933420f1c6e262678afd65f94691efb44fa6981..bca7fc080579b41311d1a6f00fb3fcf46ad2dfef 100644
--- a/Source/core/dom/DOMMatrixReadOnly.h
+++ b/Source/core/dom/DOMMatrixReadOnly.h
@@ -50,6 +50,9 @@ public:
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);
+ DOMMatrix* rotate(double angle, double ox = 0, double oy = 0);
+ DOMMatrix* rotateFromVector(double x, double y);
+ DOMMatrix* rotateAxisAngle(double x, double y, double z, double angle);
PassRefPtr<Float32Array> toFloat32Array() const;
PassRefPtr<Float64Array> toFloat64Array() const;
« no previous file with comments | « Source/core/dom/DOMMatrix.idl ('k') | Source/core/dom/DOMMatrixReadOnly.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698