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