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

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

Issue 2444733002: [GeometryInterface] Add rotate*(), rotateFromVector*() function. (Closed)
Patch Set: update test file. Created 4 years, 2 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/DOMMatrixReadOnly.h
diff --git a/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.h b/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.h
index 77a0c68071fe6aa3d9d2cf61f0b5da1c24f91974..87f70a8909c6fff75db896945a40bbde0e130065 100644
--- a/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.h
+++ b/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.h
@@ -66,6 +66,10 @@ class CORE_EXPORT DOMMatrixReadOnly
double oy = 0,
double oz = 0);
DOMMatrix* scale3d(double scale, double ox = 0, double oy = 0, double oz = 0);
+ DOMMatrix* rotate(double rotX);
+ DOMMatrix* rotate(double rotX, double rotY);
+ DOMMatrix* rotate(double rotX, double rotY, double rotZ);
+ DOMMatrix* rotateFromVector(double x, double y);
DOMMatrix* rotateAxisAngle(double x = 0,
double y = 0,
double z = 0,
« no previous file with comments | « third_party/WebKit/Source/core/dom/DOMMatrix.idl ('k') | third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698