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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(unrestricted double tx, |
52 unrestricted double ty, | 52 unrestricted double ty, |
53 optional unrestricted double tz = 0); | 53 optional unrestricted double tz = 0); |
54 DOMMatrix scale(unrestricted double scale, | 54 DOMMatrix scale(optional unrestricted double scaleX = 1, |
| 55 optional unrestricted double scaleY, |
| 56 optional unrestricted double scaleZ = 1, |
55 optional unrestricted double originX = 0, | 57 optional unrestricted double originX = 0, |
56 optional unrestricted double originY = 0); | 58 optional unrestricted double originY = 0, |
| 59 optional unrestricted double originZ = 0); |
57 DOMMatrix scale3d(unrestricted double scale, | 60 DOMMatrix scale3d(unrestricted double scale, |
58 optional unrestricted double originX = 0, | 61 optional unrestricted double originX = 0, |
59 optional unrestricted double originY = 0, | 62 optional unrestricted double originY = 0, |
60 optional unrestricted double originZ = 0); | 63 optional unrestricted double originZ = 0); |
61 DOMMatrix scaleNonUniform(unrestricted double scaleX, | |
62 optional unrestricted double scaleY = 1, | |
63 optional unrestricted double scaleZn = 1, | |
64 optional unrestricted double originX = 0, | |
65 optional unrestricted double originY = 0, | |
66 optional unrestricted double originZ = 0); | |
67 DOMMatrix skewX(optional unrestricted double sx = 0); | 64 DOMMatrix skewX(optional unrestricted double sx = 0); |
68 DOMMatrix skewY(optional unrestricted double sy = 0); | 65 DOMMatrix skewY(optional unrestricted double sy = 0); |
69 [RaisesException] DOMMatrix multiply(optional DOMMatrixInit other); | 66 [RaisesException] DOMMatrix multiply(optional DOMMatrixInit other); |
70 DOMMatrix flipX(); | 67 DOMMatrix flipX(); |
71 DOMMatrix flipY(); | 68 DOMMatrix flipY(); |
72 DOMMatrix inverse(); | 69 DOMMatrix inverse(); |
73 | 70 |
74 Float32Array toFloat32Array(); | 71 Float32Array toFloat32Array(); |
75 Float64Array toFloat64Array(); | 72 Float64Array toFloat64Array(); |
76 stringifier; | 73 stringifier; |
77 }; | 74 }; |
OLD | NEW |