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 [ | 5 [ |
6 GarbageCollected, | 6 GarbageCollected, |
7 RuntimeEnabled=GeometryInterfaces, | 7 RuntimeEnabled=GeometryInterfaces, |
8 ] interface DOMMatrixReadOnly { | 8 ] interface DOMMatrixReadOnly { |
9 // These attributes are simple aliases for certain elements of the 4x4 matri
x | 9 // These attributes are simple aliases for certain elements of the 4x4 matri
x |
10 readonly attribute unrestricted double a; | 10 readonly attribute unrestricted double a; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 DOMMatrix scale3d(unrestricted double scale, | 46 DOMMatrix scale3d(unrestricted double scale, |
47 optional unrestricted double ox = 0, | 47 optional unrestricted double ox = 0, |
48 optional unrestricted double oy = 0, | 48 optional unrestricted double oy = 0, |
49 optional unrestricted double oz = 0); | 49 optional unrestricted double oz = 0); |
50 DOMMatrix scaleNonUniform(unrestricted double sx, | 50 DOMMatrix scaleNonUniform(unrestricted double sx, |
51 optional unrestricted double sy = 1, | 51 optional unrestricted double sy = 1, |
52 optional unrestricted double sz = 1, | 52 optional unrestricted double sz = 1, |
53 optional unrestricted double ox = 0, | 53 optional unrestricted double ox = 0, |
54 optional unrestricted double oy = 0, | 54 optional unrestricted double oy = 0, |
55 optional unrestricted double oz = 0); | 55 optional unrestricted double oz = 0); |
| 56 DOMMatrix rotate(unrestricted double angle, |
| 57 optional unrestricted double ox = 0, |
| 58 optional unrestricted double oy = 0); |
| 59 DOMMatrix rotateFromVector(unrestricted double x, |
| 60 unrestricted double y); |
| 61 DOMMatrix rotateAxisAngle(unrestricted double x, |
| 62 unrestricted double y, |
| 63 unrestricted double z, |
| 64 unrestricted double angle); |
| 65 |
56 Float32Array toFloat32Array(); | 66 Float32Array toFloat32Array(); |
57 Float64Array toFloat64Array(); | 67 Float64Array toFloat64Array(); |
58 }; | 68 }; |
OLD | NEW |