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: Should implement more constructors (See: crbug.com/388780) | 12 // FIXME: Should implement more constructors (See: crbug.com/388780) |
13 // FIXME: Exposed=(Window,Worker) | 13 // FIXME: Exposed=(Window,Worker) |
14 RuntimeEnabled=GeometryInterfaces, | 14 RuntimeEnabled=GeometryInterfaces, |
15 ] interface DOMMatrix : DOMMatrixReadOnly { | 15 ] interface DOMMatrix : DOMMatrixReadOnly { |
16 [RaisesException, NewObject] static DOMMatrix fromFloat32Array(Float32Array
array32); | 16 [RaisesException, NewObject, Measure] static DOMMatrix fromFloat32Array(Floa
t32Array array32); |
17 [RaisesException, NewObject] static DOMMatrix fromFloat64Array(Float64Array
array64); | 17 [RaisesException, NewObject, Measure] static DOMMatrix fromFloat64Array(Floa
t64Array array64); |
18 [RaisesException, NewObject] static DOMMatrix fromMatrix(optional DOMMatrixI
nit other); | 18 [RaisesException, NewObject] static DOMMatrix fromMatrix(optional DOMMatrixI
nit other); |
19 | 19 |
20 // These attributes are simple aliases for certain elements of the 4x4 matri
x | 20 // These attributes are simple aliases for certain elements of the 4x4 matri
x |
21 inherit attribute unrestricted double a; | 21 inherit attribute unrestricted double a; |
22 inherit attribute unrestricted double b; | 22 inherit attribute unrestricted double b; |
23 inherit attribute unrestricted double c; | 23 inherit attribute unrestricted double c; |
24 inherit attribute unrestricted double d; | 24 inherit attribute unrestricted double d; |
25 inherit attribute unrestricted double e; | 25 inherit attribute unrestricted double e; |
26 inherit attribute unrestricted double f; | 26 inherit attribute unrestricted double f; |
27 | 27 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 DOMMatrix rotateAxisAngleSelf(optional unrestricted double x = 0, | 66 DOMMatrix rotateAxisAngleSelf(optional unrestricted double x = 0, |
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 skewXSelf(optional unrestricted double sx = 0); | 70 DOMMatrix skewXSelf(optional unrestricted double sx = 0); |
71 DOMMatrix skewYSelf(optional unrestricted double sy = 0); | 71 DOMMatrix skewYSelf(optional unrestricted double sy = 0); |
72 DOMMatrix invertSelf(); | 72 DOMMatrix invertSelf(); |
73 | 73 |
74 [RaisesException] DOMMatrix setMatrixValue(DOMString transformList); | 74 [RaisesException] DOMMatrix setMatrixValue(DOMString transformList); |
75 }; | 75 }; |
OLD | NEW |