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(sequence<unrestricted double> numberSequence), | 8 Constructor(sequence<unrestricted double> numberSequence), |
9 RaisesException=Constructor, | 9 RaisesException=Constructor, |
10 // FIXME: Exposed=(Window,Worker) | 10 // FIXME: Exposed=(Window,Worker) |
11 RuntimeEnabled=GeometryInterfaces, | 11 RuntimeEnabled=GeometryInterfaces, |
12 ] interface DOMMatrixReadOnly { | 12 ] interface DOMMatrixReadOnly { |
| 13 [RaisesException, NewObject] static DOMMatrixReadOnly fromFloat32Array(Float
32Array array32); |
| 14 [RaisesException, NewObject] static DOMMatrixReadOnly fromFloat64Array(Float
64Array array64); |
| 15 |
13 // These attributes are simple aliases for certain elements of the 4x4 matri
x | 16 // These attributes are simple aliases for certain elements of the 4x4 matri
x |
14 readonly attribute unrestricted double a; | 17 readonly attribute unrestricted double a; |
15 readonly attribute unrestricted double b; | 18 readonly attribute unrestricted double b; |
16 readonly attribute unrestricted double c; | 19 readonly attribute unrestricted double c; |
17 readonly attribute unrestricted double d; | 20 readonly attribute unrestricted double d; |
18 readonly attribute unrestricted double e; | 21 readonly attribute unrestricted double e; |
19 readonly attribute unrestricted double f; | 22 readonly attribute unrestricted double f; |
20 | 23 |
21 readonly attribute unrestricted double m11; | 24 readonly attribute unrestricted double m11; |
22 readonly attribute unrestricted double m12; | 25 readonly attribute unrestricted double m12; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 DOMMatrix skewX(optional unrestricted double sx = 0); | 63 DOMMatrix skewX(optional unrestricted double sx = 0); |
61 DOMMatrix skewY(optional unrestricted double sy = 0); | 64 DOMMatrix skewY(optional unrestricted double sy = 0); |
62 DOMMatrix flipX(); | 65 DOMMatrix flipX(); |
63 DOMMatrix flipY(); | 66 DOMMatrix flipY(); |
64 DOMMatrix inverse(); | 67 DOMMatrix inverse(); |
65 | 68 |
66 Float32Array toFloat32Array(); | 69 Float32Array toFloat32Array(); |
67 Float64Array toFloat64Array(); | 70 Float64Array toFloat64Array(); |
68 stringifier; | 71 stringifier; |
69 }; | 72 }; |
OLD | NEW |