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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(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(optional unrestricted double scale = 1, |
61 optional unrestricted double originX = 0, | 61 optional unrestricted double originX = 0, |
62 optional unrestricted double originY = 0, | 62 optional unrestricted double originY = 0, |
63 optional unrestricted double originZ = 0); | 63 optional unrestricted double originZ = 0); |
64 DOMMatrix rotate(optional unrestricted double rotX = 0, | 64 DOMMatrix rotate(optional unrestricted double rotX = 0, |
65 optional unrestricted double rotY, | 65 optional unrestricted double rotY, |
66 optional unrestricted double rotZ); | 66 optional unrestricted double rotZ); |
67 DOMMatrix rotateFromVector(optional unrestricted double x = 0, | 67 DOMMatrix rotateFromVector(optional unrestricted double x = 0, |
68 optional unrestricted double y = 0); | 68 optional unrestricted double y = 0); |
69 DOMMatrix rotateAxisAngle(optional unrestricted double x = 0, | 69 DOMMatrix rotateAxisAngle(optional unrestricted double x = 0, |
70 optional unrestricted double y = 0, | 70 optional unrestricted double y = 0, |
71 optional unrestricted double z = 0, | 71 optional unrestricted double z = 0, |
72 optional unrestricted double angle = 0); | 72 optional unrestricted double angle = 0); |
73 DOMMatrix skewX(optional unrestricted double sx = 0); | 73 DOMMatrix skewX(optional unrestricted double sx = 0); |
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 |