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 30 matching lines...) Expand all Loading... |
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) | 45 // TODO(zino): Should implement rotate() method (See: crbug.com/645878) |
46 // TODO(zino): Should implement rotateFromVector() method (See: crbug.com/64
5882) | 46 // TODO(zino): Should implement rotateFromVector() method (See: crbug.com/64
5882) |
47 // TODO(zino): Should implement rotateAxisAngle() method (See: crbug.com/645
883) | 47 // TODO(zino): Should implement rotateAxisAngle() method (See: crbug.com/645
883) |
48 // TODO(zino): Should implement transformPoint() method (See: crbug.com/6458
85) | 48 // TODO(zino): Should implement transformPoint() method (See: crbug.com/6458
85) |
49 // TODO(zino): Should remove scaleNonUniform() method (See: crbug.com/645887
) | 49 // TODO(zino): Should remove scaleNonUniform() method (See: crbug.com/645887
) |
50 // Immutable transform methods | 50 // Immutable transform methods |
51 DOMMatrix translate(unrestricted double tx, | 51 DOMMatrix translate(optional unrestricted double tx = 0, |
52 unrestricted double ty, | 52 optional unrestricted double ty = 0, |
53 optional unrestricted double tz = 0); | 53 optional unrestricted double tz = 0); |
54 DOMMatrix scale(optional unrestricted double scaleX = 1, | 54 DOMMatrix scale(optional unrestricted double scaleX = 1, |
55 optional unrestricted double scaleY, | 55 optional unrestricted double scaleY, |
56 optional unrestricted double scaleZ = 1, | 56 optional unrestricted double scaleZ = 1, |
57 optional unrestricted double originX = 0, | 57 optional unrestricted double originX = 0, |
58 optional unrestricted double originY = 0, | 58 optional unrestricted double originY = 0, |
59 optional unrestricted double originZ = 0); | 59 optional unrestricted double originZ = 0); |
60 DOMMatrix scale3d(unrestricted double scale, | 60 DOMMatrix scale3d(unrestricted double scale, |
61 optional unrestricted double originX = 0, | 61 optional unrestricted double originX = 0, |
62 optional unrestricted double originY = 0, | 62 optional unrestricted double originY = 0, |
(...skipping 11 matching lines...) Expand all Loading... |
74 DOMMatrix skewY(optional unrestricted double sy = 0); | 74 DOMMatrix skewY(optional unrestricted double sy = 0); |
75 [RaisesException] DOMMatrix multiply(optional DOMMatrixInit other); | 75 [RaisesException] DOMMatrix multiply(optional DOMMatrixInit other); |
76 DOMMatrix flipX(); | 76 DOMMatrix flipX(); |
77 DOMMatrix flipY(); | 77 DOMMatrix flipY(); |
78 DOMMatrix inverse(); | 78 DOMMatrix inverse(); |
79 | 79 |
80 Float32Array toFloat32Array(); | 80 Float32Array toFloat32Array(); |
81 Float64Array toFloat64Array(); | 81 Float64Array toFloat64Array(); |
82 stringifier; | 82 stringifier; |
83 }; | 83 }; |
OLD | NEW |