| 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, | 8 Constructor, |
| 9 Constructor(DOMMatrixReadOnly other), | 9 Constructor(DOMMatrixReadOnly other), |
| 10 // FIXME: Should implement more constructors (See: crbug.com/388780) | 10 // FIXME: Should implement more constructors (See: crbug.com/388780) |
| 11 // FIXME: Exposed=(Window,Worker) | 11 // FIXME: Exposed=(Window,Worker) |
| 12 RuntimeEnabled=GeometryInterfaces, | 12 RuntimeEnabled=GeometryInterfaces, |
| 13 ] interface DOMMatrix : DOMMatrixReadOnly { | 13 ] interface DOMMatrix : DOMMatrixReadOnly { |
| 14 [RaisesException, NewObject] static DOMMatrix fromFloat32Array(Float32Array
array32); |
| 15 [RaisesException, NewObject] static DOMMatrix fromFloat64Array(Float64Array
array64); |
| 16 |
| 14 // These attributes are simple aliases for certain elements of the 4x4 matri
x | 17 // These attributes are simple aliases for certain elements of the 4x4 matri
x |
| 15 inherit attribute unrestricted double a; | 18 inherit attribute unrestricted double a; |
| 16 inherit attribute unrestricted double b; | 19 inherit attribute unrestricted double b; |
| 17 inherit attribute unrestricted double c; | 20 inherit attribute unrestricted double c; |
| 18 inherit attribute unrestricted double d; | 21 inherit attribute unrestricted double d; |
| 19 inherit attribute unrestricted double e; | 22 inherit attribute unrestricted double e; |
| 20 inherit attribute unrestricted double f; | 23 inherit attribute unrestricted double f; |
| 21 | 24 |
| 22 inherit attribute unrestricted double m11; | 25 inherit attribute unrestricted double m11; |
| 23 inherit attribute unrestricted double m12; | 26 inherit attribute unrestricted double m12; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 53 DOMMatrix scaleNonUniformSelf(unrestricted double scaleX, | 56 DOMMatrix scaleNonUniformSelf(unrestricted double scaleX, |
| 54 optional unrestricted double scaleY = 1, | 57 optional unrestricted double scaleY = 1, |
| 55 optional unrestricted double scaleZ = 1, | 58 optional unrestricted double scaleZ = 1, |
| 56 optional unrestricted double originX = 0, | 59 optional unrestricted double originX = 0, |
| 57 optional unrestricted double originY = 0, | 60 optional unrestricted double originY = 0, |
| 58 optional unrestricted double originZ = 0); | 61 optional unrestricted double originZ = 0); |
| 59 DOMMatrix skewXSelf(optional unrestricted double sx = 0); | 62 DOMMatrix skewXSelf(optional unrestricted double sx = 0); |
| 60 DOMMatrix skewYSelf(optional unrestricted double sy = 0); | 63 DOMMatrix skewYSelf(optional unrestricted double sy = 0); |
| 61 DOMMatrix invertSelf(); | 64 DOMMatrix invertSelf(); |
| 62 }; | 65 }; |
| OLD | NEW |