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

Unified Diff: third_party/WebKit/Source/core/dom/DOMMatrix.h

Issue 2283363004: GeometryInterace: Add rotate methods. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: third_party/WebKit/Source/core/dom/DOMMatrix.h
diff --git a/third_party/WebKit/Source/core/dom/DOMMatrix.h b/third_party/WebKit/Source/core/dom/DOMMatrix.h
index b8b33c1bb0d4bab64a6175ae7b4ad62ed88b3abf..64aef9497b1364a9957d655085d135cac46a087a 100644
--- a/third_party/WebKit/Source/core/dom/DOMMatrix.h
+++ b/third_party/WebKit/Source/core/dom/DOMMatrix.h
@@ -47,6 +47,11 @@ public:
DOMMatrix* scale3dSelf(double scale, double ox = 0, double oy = 0, double oz = 0);
DOMMatrix* scaleNonUniformSelf(double sx, double sy = 1, double sz = 1,
double ox = 0, double oy = 0, double oz = 0);
+ DOMMatrix* rotateSelf(double rotX);
+ DOMMatrix* rotateSelf(double rotX, double rotY);
+ DOMMatrix* rotateSelf(double rotX, double rotY, double rotZ);
+ DOMMatrix* rotateFromVectorSelf(double x, double y);
+ DOMMatrix* rotateAxisAngleSelf(double x, double y, double z, double angle);
private:
DOMMatrix(const TransformationMatrix&, bool is2D = true);

Powered by Google App Engine
This is Rietveld 408576698