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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 DOMMatrix* translateSelf(double tx, double ty, double tz = 0); | 51 DOMMatrix* translateSelf(double tx, double ty, double tz = 0); |
52 DOMMatrix* scaleSelf(double scale, double ox = 0, double oy = 0); | 52 DOMMatrix* scaleSelf(double scale, double ox = 0, double oy = 0); |
53 DOMMatrix* scale3dSelf(double scale, double ox = 0, double oy = 0, double oz
= 0); | 53 DOMMatrix* scale3dSelf(double scale, double ox = 0, double oy = 0, double oz
= 0); |
54 DOMMatrix* scaleNonUniformSelf(double sx, double sy = 1, double sz = 1, | 54 DOMMatrix* scaleNonUniformSelf(double sx, double sy = 1, double sz = 1, |
55 double ox = 0, double oy = 0, double oz = 0); | 55 double ox = 0, double oy = 0, double oz = 0); |
56 DOMMatrix* rotateAxisAngleSelf(double x = 0, double y = 0, double z = 0, dou
ble angle = 0); | 56 DOMMatrix* rotateAxisAngleSelf(double x = 0, double y = 0, double z = 0, dou
ble angle = 0); |
57 DOMMatrix* skewXSelf(double sx = 0); | 57 DOMMatrix* skewXSelf(double sx = 0); |
58 DOMMatrix* skewYSelf(double sy = 0); | 58 DOMMatrix* skewYSelf(double sy = 0); |
59 DOMMatrix* invertSelf(); | 59 DOMMatrix* invertSelf(); |
60 | 60 |
| 61 DOMMatrix* setMatrixValue(const String&, ExceptionState&); |
| 62 |
61 private: | 63 private: |
62 DOMMatrix(const TransformationMatrix&, bool is2D = true); | 64 DOMMatrix(const TransformationMatrix&, bool is2D = true); |
63 template <typename T> | 65 template <typename T> |
64 DOMMatrix(T sequence, int size); | 66 DOMMatrix(T sequence, int size); |
65 | 67 |
66 void setIs2D(bool value); | 68 void setIs2D(bool value); |
67 }; | 69 }; |
68 | 70 |
69 } // namespace blink | 71 } // namespace blink |
70 | 72 |
71 #endif | 73 #endif |
OLD | NEW |