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) |
(...skipping 24 matching lines...) Expand all Loading... |
35 readonly attribute unrestricted double m33; | 35 readonly attribute unrestricted double m33; |
36 readonly attribute unrestricted double m34; | 36 readonly attribute unrestricted double m34; |
37 readonly attribute unrestricted double m41; | 37 readonly attribute unrestricted double m41; |
38 readonly attribute unrestricted double m42; | 38 readonly attribute unrestricted double m42; |
39 readonly attribute unrestricted double m43; | 39 readonly attribute unrestricted double m43; |
40 readonly attribute unrestricted double m44; | 40 readonly attribute unrestricted double m44; |
41 | 41 |
42 readonly attribute boolean is2D; | 42 readonly attribute boolean is2D; |
43 readonly attribute boolean isIdentity; | 43 readonly attribute boolean isIdentity; |
44 | 44 |
45 // TODO(zino): Should implement rotate() method (See: crbug.com/645878) | |
46 // TODO(zino): Should implement rotateFromVector() method (See: crbug.com/64
5882) | |
47 // TODO(zino): Should implement rotateAxisAngle() method (See: crbug.com/645
883) | |
48 // TODO(zino): Should implement transformPoint() method (See: crbug.com/6458
85) | 45 // TODO(zino): Should implement transformPoint() method (See: crbug.com/6458
85) |
49 // TODO(zino): Should remove scaleNonUniform() method (See: crbug.com/645887
) | |
50 // Immutable transform methods | 46 // Immutable transform methods |
51 DOMMatrix translate(optional unrestricted double tx = 0, | 47 DOMMatrix translate(optional unrestricted double tx = 0, |
52 optional unrestricted double ty = 0, | 48 optional unrestricted double ty = 0, |
53 optional unrestricted double tz = 0); | 49 optional unrestricted double tz = 0); |
54 DOMMatrix scale(optional unrestricted double scaleX = 1, | 50 DOMMatrix scale(optional unrestricted double scaleX = 1, |
55 optional unrestricted double scaleY, | 51 optional unrestricted double scaleY, |
56 optional unrestricted double scaleZ = 1, | 52 optional unrestricted double scaleZ = 1, |
57 optional unrestricted double originX = 0, | 53 optional unrestricted double originX = 0, |
58 optional unrestricted double originY = 0, | 54 optional unrestricted double originY = 0, |
59 optional unrestricted double originZ = 0); | 55 optional unrestricted double originZ = 0); |
(...skipping 15 matching lines...) Expand all Loading... |
75 [RaisesException] DOMMatrix multiply(optional DOMMatrixInit other); | 71 [RaisesException] DOMMatrix multiply(optional DOMMatrixInit other); |
76 DOMMatrix flipX(); | 72 DOMMatrix flipX(); |
77 DOMMatrix flipY(); | 73 DOMMatrix flipY(); |
78 DOMMatrix inverse(); | 74 DOMMatrix inverse(); |
79 | 75 |
80 Float32Array toFloat32Array(); | 76 Float32Array toFloat32Array(); |
81 Float64Array toFloat64Array(); | 77 Float64Array toFloat64Array(); |
82 stringifier; | 78 stringifier; |
83 serializer = {attribute}; | 79 serializer = {attribute}; |
84 }; | 80 }; |
OLD | NEW |