Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(674)

Side by Side Diff: third_party/WebKit/Source/core/dom/DOMMatrix.idl

Issue 2461303003: [GeometryInterface] parameter of translate*() was changed. (Closed)
Patch Set: add test. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 inherit attribute unrestricted double m44; 43 inherit attribute unrestricted double m44;
44 44
45 // TODO(zino): Should implement rotateSelf() method (See: crbug.com/645878) 45 // TODO(zino): Should implement rotateSelf() method (See: crbug.com/645878)
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(optional unrestricted double tx = 0,
54 unrestricted double ty, 54 optional unrestricted double ty = 0,
55 optional unrestricted double tz = 0); 55 optional unrestricted double tz = 0);
56 DOMMatrix scaleSelf(optional unrestricted double scaleX = 1, 56 DOMMatrix scaleSelf(optional unrestricted double scaleX = 1,
57 optional unrestricted double scaleY, 57 optional unrestricted double scaleY,
58 optional unrestricted double scaleZ = 1, 58 optional unrestricted double scaleZ = 1,
59 optional unrestricted double originX = 0, 59 optional unrestricted double originX = 0,
60 optional unrestricted double originY = 0, 60 optional unrestricted double originY = 0,
61 optional unrestricted double originZ = 0); 61 optional unrestricted double originZ = 0);
62 DOMMatrix scale3dSelf(unrestricted double scale, 62 DOMMatrix scale3dSelf(unrestricted double scale,
63 optional unrestricted double originX = 0, 63 optional unrestricted double originX = 0,
64 optional unrestricted double originY = 0, 64 optional unrestricted double originY = 0,
65 optional unrestricted double originZ = 0); 65 optional unrestricted double originZ = 0);
66 DOMMatrix rotateSelf(optional unrestricted double rotX = 0, 66 DOMMatrix rotateSelf(optional unrestricted double rotX = 0,
67 optional unrestricted double rotY, 67 optional unrestricted double rotY,
68 optional unrestricted double rotZ); 68 optional unrestricted double rotZ);
69 DOMMatrix rotateFromVectorSelf(optional unrestricted double x = 0, 69 DOMMatrix rotateFromVectorSelf(optional unrestricted double x = 0,
70 optional unrestricted double y = 0); 70 optional unrestricted double y = 0);
71 DOMMatrix rotateAxisAngleSelf(optional unrestricted double x = 0, 71 DOMMatrix rotateAxisAngleSelf(optional unrestricted double x = 0,
72 optional unrestricted double y = 0, 72 optional unrestricted double y = 0,
73 optional unrestricted double z = 0, 73 optional unrestricted double z = 0,
74 optional unrestricted double angle = 0); 74 optional unrestricted double angle = 0);
75 DOMMatrix skewXSelf(optional unrestricted double sx = 0); 75 DOMMatrix skewXSelf(optional unrestricted double sx = 0);
76 DOMMatrix skewYSelf(optional unrestricted double sy = 0); 76 DOMMatrix skewYSelf(optional unrestricted double sy = 0);
77 DOMMatrix invertSelf(); 77 DOMMatrix invertSelf();
78 78
79 [RaisesException] DOMMatrix setMatrixValue(DOMString transformList); 79 [RaisesException] DOMMatrix setMatrixValue(DOMString transformList);
80 }; 80 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/DOMMatrix.h ('k') | third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698