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 // https://dev.w3.org/fxtf/geometry/#DOMMatrix | 5 // https://dev.w3.org/fxtf/geometry/#DOMMatrix |
6 | 6 |
7 [ | 7 [ |
8 Constructor(optional (DOMString or sequence<unrestricted double>) init), | 8 Constructor(optional (DOMString or sequence<unrestricted double>) init), |
9 RaisesException=Constructor, | 9 RaisesException=Constructor, |
| 10 ConstructorCallWith=ExecutionContext, |
10 Exposed=(Window,Worker), | 11 Exposed=(Window,Worker), |
11 RuntimeEnabled=GeometryInterfaces, | 12 RuntimeEnabled=GeometryInterfaces, |
12 ] interface DOMMatrixReadOnly { | 13 ] interface DOMMatrixReadOnly { |
13 [RaisesException, NewObject] static DOMMatrixReadOnly fromMatrix(optional DO
MMatrixInit other); | 14 [RaisesException, NewObject] static DOMMatrixReadOnly fromMatrix(optional DO
MMatrixInit other); |
14 [RaisesException, NewObject] static DOMMatrixReadOnly fromFloat32Array(Float
32Array array32); | 15 [RaisesException, NewObject] static DOMMatrixReadOnly fromFloat32Array(Float
32Array array32); |
15 [RaisesException, NewObject] static DOMMatrixReadOnly fromFloat64Array(Float
64Array array64); | 16 [RaisesException, NewObject] static DOMMatrixReadOnly fromFloat64Array(Float
64Array array64); |
16 | 17 |
17 // These attributes are simple aliases for certain elements of the 4x4 matri
x | 18 // These attributes are simple aliases for certain elements of the 4x4 matri
x |
18 readonly attribute unrestricted double a; | 19 readonly attribute unrestricted double a; |
19 readonly attribute unrestricted double b; | 20 readonly attribute unrestricted double b; |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 DOMMatrix flipX(); | 72 DOMMatrix flipX(); |
72 DOMMatrix flipY(); | 73 DOMMatrix flipY(); |
73 DOMMatrix inverse(); | 74 DOMMatrix inverse(); |
74 | 75 |
75 DOMPoint transformPoint(optional DOMPointInit point); | 76 DOMPoint transformPoint(optional DOMPointInit point); |
76 Float32Array toFloat32Array(); | 77 Float32Array toFloat32Array(); |
77 Float64Array toFloat64Array(); | 78 Float64Array toFloat64Array(); |
78 stringifier; | 79 stringifier; |
79 serializer = { attribute }; | 80 serializer = { attribute }; |
80 }; | 81 }; |
OLD | NEW |