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 17 matching lines...) Expand all Loading... |
28 readonly attribute unrestricted double m34; | 28 readonly attribute unrestricted double m34; |
29 readonly attribute unrestricted double m41; | 29 readonly attribute unrestricted double m41; |
30 readonly attribute unrestricted double m42; | 30 readonly attribute unrestricted double m42; |
31 readonly attribute unrestricted double m43; | 31 readonly attribute unrestricted double m43; |
32 readonly attribute unrestricted double m44; | 32 readonly attribute unrestricted double m44; |
33 | 33 |
34 readonly attribute boolean is2D; | 34 readonly attribute boolean is2D; |
35 readonly attribute boolean isIdentity; | 35 readonly attribute boolean isIdentity; |
36 | 36 |
37 // FIXME: Should implement some methods (See: crbug.com/388780) | 37 // FIXME: Should implement some methods (See: crbug.com/388780) |
| 38 // Immutable transform methods |
| 39 DOMMatrix translate(unrestricted double tx, |
| 40 unrestricted double ty, |
| 41 optional unrestricted double tz = 0); |
38 }; | 42 }; |
OLD | NEW |