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, | 8 Constructor, |
9 Constructor(DOMString transformList), | 9 Constructor(DOMString transformList), |
10 Constructor(sequence<unrestricted double> numberSequence), | 10 Constructor(sequence<unrestricted double> numberSequence), |
11 RaisesException=Constructor, | 11 RaisesException=Constructor, |
12 // FIXME: Exposed=(Window,Worker) | 12 // FIXME: Exposed=(Window,Worker) |
13 RuntimeEnabled=GeometryInterfaces, | 13 RuntimeEnabled=GeometryInterfaces, |
14 ] interface DOMMatrixReadOnly { | 14 ] interface DOMMatrixReadOnly { |
15 [RaisesException, NewObject] static DOMMatrixReadOnly fromMatrix(optional DO
MMatrixInit other); | 15 [RaisesException, NewObject] static DOMMatrixReadOnly fromMatrix(optional DO
MMatrixInit other); |
16 [RaisesException, NewObject] static DOMMatrixReadOnly fromFloat32Array(Float
32Array array32); | 16 [RaisesException, NewObject, Measure] static DOMMatrixReadOnly fromFloat32Ar
ray(Float32Array array32); |
17 [RaisesException, NewObject] static DOMMatrixReadOnly fromFloat64Array(Float
64Array array64); | 17 [RaisesException, NewObject, Measure] static DOMMatrixReadOnly fromFloat64Ar
ray(Float64Array array64); |
18 | 18 |
19 // These attributes are simple aliases for certain elements of the 4x4 matri
x | 19 // These attributes are simple aliases for certain elements of the 4x4 matri
x |
20 readonly attribute unrestricted double a; | 20 readonly attribute unrestricted double a; |
21 readonly attribute unrestricted double b; | 21 readonly attribute unrestricted double b; |
22 readonly attribute unrestricted double c; | 22 readonly attribute unrestricted double c; |
23 readonly attribute unrestricted double d; | 23 readonly attribute unrestricted double d; |
24 readonly attribute unrestricted double e; | 24 readonly attribute unrestricted double e; |
25 readonly attribute unrestricted double f; | 25 readonly attribute unrestricted double f; |
26 | 26 |
27 readonly attribute unrestricted double m11; | 27 readonly attribute unrestricted double m11; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 optional unrestricted double y = 0, | 67 optional unrestricted double y = 0, |
68 optional unrestricted double z = 0, | 68 optional unrestricted double z = 0, |
69 optional unrestricted double angle = 0); | 69 optional unrestricted double angle = 0); |
70 DOMMatrix skewX(optional unrestricted double sx = 0); | 70 DOMMatrix skewX(optional unrestricted double sx = 0); |
71 DOMMatrix skewY(optional unrestricted double sy = 0); | 71 DOMMatrix skewY(optional unrestricted double sy = 0); |
72 [RaisesException] DOMMatrix multiply(optional DOMMatrixInit other); | 72 [RaisesException] DOMMatrix multiply(optional DOMMatrixInit other); |
73 DOMMatrix flipX(); | 73 DOMMatrix flipX(); |
74 DOMMatrix flipY(); | 74 DOMMatrix flipY(); |
75 DOMMatrix inverse(); | 75 DOMMatrix inverse(); |
76 | 76 |
77 DOMPoint transformPoint(optional DOMPointInit point); | 77 [Measure] DOMPoint transformPoint(optional DOMPointInit point); |
78 Float32Array toFloat32Array(); | 78 [Measure] Float32Array toFloat32Array(); |
79 Float64Array toFloat64Array(); | 79 [Measure] Float64Array toFloat64Array(); |
80 stringifier; | 80 stringifier; |
81 serializer = { attribute }; | 81 serializer = { attribute }; |
82 }; | 82 }; |
OLD | NEW |