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 // http://dev.w3.org/fxtf/geometry/#DOMMatrix | 5 // http://dev.w3.org/fxtf/geometry/#DOMMatrix |
6 | 6 |
7 [ | 7 [ |
8 Constructor, | 8 Constructor, |
9 Constructor(DOMMatrixReadOnly other), | |
10 Constructor(sequence<unrestricted double> numberSequence), | 9 Constructor(sequence<unrestricted double> numberSequence), |
11 RaisesException=Constructor, | 10 RaisesException=Constructor, |
12 // FIXME: Should implement more constructors (See: crbug.com/388780) | 11 // FIXME: Should implement more constructors (See: crbug.com/388780) |
13 // FIXME: Exposed=(Window,Worker) | 12 // FIXME: Exposed=(Window,Worker) |
14 RuntimeEnabled=GeometryInterfaces, | 13 RuntimeEnabled=GeometryInterfaces, |
15 ] interface DOMMatrix : DOMMatrixReadOnly { | 14 ] interface DOMMatrix : DOMMatrixReadOnly { |
16 [RaisesException, NewObject] static DOMMatrix fromFloat32Array(Float32Array
array32); | 15 [RaisesException, NewObject] static DOMMatrix fromFloat32Array(Float32Array
array32); |
17 [RaisesException, NewObject] static DOMMatrix fromFloat64Array(Float64Array
array64); | 16 [RaisesException, NewObject] static DOMMatrix fromFloat64Array(Float64Array
array64); |
18 [RaisesException, NewObject] static DOMMatrix fromMatrix(optional DOMMatrixI
nit other); | 17 [RaisesException, NewObject] static DOMMatrix fromMatrix(optional DOMMatrixI
nit other); |
19 | 18 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 DOMMatrix rotateAxisAngleSelf(optional unrestricted double x = 0, | 70 DOMMatrix rotateAxisAngleSelf(optional unrestricted double x = 0, |
72 optional unrestricted double y = 0, | 71 optional unrestricted double y = 0, |
73 optional unrestricted double z = 0, | 72 optional unrestricted double z = 0, |
74 optional unrestricted double angle = 0); | 73 optional unrestricted double angle = 0); |
75 DOMMatrix skewXSelf(optional unrestricted double sx = 0); | 74 DOMMatrix skewXSelf(optional unrestricted double sx = 0); |
76 DOMMatrix skewYSelf(optional unrestricted double sy = 0); | 75 DOMMatrix skewYSelf(optional unrestricted double sy = 0); |
77 DOMMatrix invertSelf(); | 76 DOMMatrix invertSelf(); |
78 | 77 |
79 [RaisesException] DOMMatrix setMatrixValue(DOMString transformList); | 78 [RaisesException] DOMMatrix setMatrixValue(DOMString transformList); |
80 }; | 79 }; |
OLD | NEW |