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