OLD | NEW |
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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 DOMMatrix* rotateSelf(double rotX, double rotY, double rotZ); | 97 DOMMatrix* rotateSelf(double rotX, double rotY, double rotZ); |
98 DOMMatrix* rotateFromVectorSelf(double x, double y); | 98 DOMMatrix* rotateFromVectorSelf(double x, double y); |
99 DOMMatrix* rotateAxisAngleSelf(double x = 0, | 99 DOMMatrix* rotateAxisAngleSelf(double x = 0, |
100 double y = 0, | 100 double y = 0, |
101 double z = 0, | 101 double z = 0, |
102 double angle = 0); | 102 double angle = 0); |
103 DOMMatrix* skewXSelf(double sx = 0); | 103 DOMMatrix* skewXSelf(double sx = 0); |
104 DOMMatrix* skewYSelf(double sy = 0); | 104 DOMMatrix* skewYSelf(double sy = 0); |
105 DOMMatrix* invertSelf(); | 105 DOMMatrix* invertSelf(); |
106 | 106 |
| 107 DOMMatrix* setMatrixValue(const String&, ExceptionState&); |
| 108 |
107 private: | 109 private: |
108 DOMMatrix(const TransformationMatrix&, bool is2D = true); | 110 DOMMatrix(const TransformationMatrix&, bool is2D = true); |
109 template <typename T> | 111 template <typename T> |
110 DOMMatrix(T sequence, int size); | 112 DOMMatrix(T sequence, int size); |
111 | 113 |
112 void setIs2D(bool value); | 114 void setIs2D(bool value); |
113 void setNAN(); | 115 void setNAN(); |
114 }; | 116 }; |
115 | 117 |
116 } // namespace blink | 118 } // namespace blink |
117 | 119 |
118 #endif | 120 #endif |
OLD | NEW |