| 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 Constructor(sequence<unrestricted double> numberSequence), | 10 Constructor(sequence<unrestricted double> numberSequence), |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 // TODO(zino): Should implement rotateFromVectorSelf() method (See: crbug.co
m/645882) | 46 // TODO(zino): Should implement rotateFromVectorSelf() method (See: crbug.co
m/645882) |
| 47 // TODO(zino): Should implement rotateAxisAngleSelf() method (See: crbug.com
/645883) | 47 // TODO(zino): Should implement rotateAxisAngleSelf() method (See: crbug.com
/645883) |
| 48 // TODO(zino): Should implement setMatrixValue() method (See: crbug.com/6458
84) | 48 // TODO(zino): Should implement setMatrixValue() method (See: crbug.com/6458
84) |
| 49 // TODO(zino): Should remove scaleNonUniformSelf() method (See: crbug.com/64
5887) | 49 // TODO(zino): Should remove scaleNonUniformSelf() method (See: crbug.com/64
5887) |
| 50 // Mutable transform methods | 50 // Mutable transform methods |
| 51 [RaisesException] DOMMatrix multiplySelf(optional DOMMatrixInit other); | 51 [RaisesException] DOMMatrix multiplySelf(optional DOMMatrixInit other); |
| 52 [RaisesException] DOMMatrix preMultiplySelf(optional DOMMatrixInit other); | 52 [RaisesException] DOMMatrix preMultiplySelf(optional DOMMatrixInit other); |
| 53 DOMMatrix translateSelf(unrestricted double tx, | 53 DOMMatrix translateSelf(unrestricted double tx, |
| 54 unrestricted double ty, | 54 unrestricted double ty, |
| 55 optional unrestricted double tz = 0); | 55 optional unrestricted double tz = 0); |
| 56 DOMMatrix scaleSelf(unrestricted double scale, | 56 DOMMatrix scaleSelf(optional unrestricted double scaleX = 1, |
| 57 optional unrestricted double scaleY, |
| 58 optional unrestricted double scaleZ = 1, |
| 57 optional unrestricted double originX = 0, | 59 optional unrestricted double originX = 0, |
| 58 optional unrestricted double originY = 0); | 60 optional unrestricted double originY = 0, |
| 61 optional unrestricted double originZ = 0); |
| 59 DOMMatrix scale3dSelf(unrestricted double scale, | 62 DOMMatrix scale3dSelf(unrestricted double scale, |
| 60 optional unrestricted double originX = 0, | 63 optional unrestricted double originX = 0, |
| 61 optional unrestricted double originY = 0, | 64 optional unrestricted double originY = 0, |
| 62 optional unrestricted double originZ = 0); | 65 optional unrestricted double originZ = 0); |
| 63 DOMMatrix scaleNonUniformSelf(unrestricted double scaleX, | |
| 64 optional unrestricted double scaleY = 1, | |
| 65 optional unrestricted double scaleZ = 1, | |
| 66 optional unrestricted double originX = 0, | |
| 67 optional unrestricted double originY = 0, | |
| 68 optional unrestricted double originZ = 0); | |
| 69 DOMMatrix rotateAxisAngleSelf(optional unrestricted double x = 0, | 66 DOMMatrix rotateAxisAngleSelf(optional unrestricted double x = 0, |
| 70 optional unrestricted double y = 0, | 67 optional unrestricted double y = 0, |
| 71 optional unrestricted double z = 0, | 68 optional unrestricted double z = 0, |
| 72 optional unrestricted double angle = 0); | 69 optional unrestricted double angle = 0); |
| 73 DOMMatrix skewXSelf(optional unrestricted double sx = 0); | 70 DOMMatrix skewXSelf(optional unrestricted double sx = 0); |
| 74 DOMMatrix skewYSelf(optional unrestricted double sy = 0); | 71 DOMMatrix skewYSelf(optional unrestricted double sy = 0); |
| 75 DOMMatrix invertSelf(); | 72 DOMMatrix invertSelf(); |
| 76 }; | 73 }; |
| OLD | NEW |