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

Side by Side Diff: third_party/WebKit/Source/core/dom/DOMMatrix.h

Issue 2365153002: [GeometryInterface] Add rotateAxisAngle*(x,y,z,angle) function. (Closed)
Patch Set: update test. 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef DOMMatrix_h 5 #ifndef DOMMatrix_h
6 #define DOMMatrix_h 6 #define DOMMatrix_h
7 7
8 #include "bindings/core/v8/ExceptionStatePlaceholder.h" 8 #include "bindings/core/v8/ExceptionStatePlaceholder.h"
9 #include "core/dom/DOMMatrixInit.h" 9 #include "core/dom/DOMMatrixInit.h"
10 #include "core/dom/DOMMatrixReadOnly.h" 10 #include "core/dom/DOMMatrixReadOnly.h"
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 DOMMatrix* scale3dSelf(double scale, 85 DOMMatrix* scale3dSelf(double scale,
86 double ox = 0, 86 double ox = 0,
87 double oy = 0, 87 double oy = 0,
88 double oz = 0); 88 double oz = 0);
89 DOMMatrix* scaleNonUniformSelf(double sx, 89 DOMMatrix* scaleNonUniformSelf(double sx,
90 double sy = 1, 90 double sy = 1,
91 double sz = 1, 91 double sz = 1,
92 double ox = 0, 92 double ox = 0,
93 double oy = 0, 93 double oy = 0,
94 double oz = 0); 94 double oz = 0);
95 DOMMatrix* rotateAxisAngleSelf(double x = 0,
96 double y = 0,
97 double z = 0,
98 double angle = 0);
95 DOMMatrix* skewXSelf(double sx = 0); 99 DOMMatrix* skewXSelf(double sx = 0);
96 DOMMatrix* skewYSelf(double sy = 0); 100 DOMMatrix* skewYSelf(double sy = 0);
97 DOMMatrix* invertSelf(); 101 DOMMatrix* invertSelf();
98 102
99 private: 103 private:
100 DOMMatrix(const TransformationMatrix&, bool is2D = true); 104 DOMMatrix(const TransformationMatrix&, bool is2D = true);
101 template <typename T> 105 template <typename T>
102 DOMMatrix(T sequence, int size); 106 DOMMatrix(T sequence, int size);
103 107
104 void setIs2D(bool value); 108 void setIs2D(bool value);
105 }; 109 };
106 110
107 } // namespace blink 111 } // namespace blink
108 112
109 #endif 113 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698