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

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

Issue 485523002: Implement *multiply*() methods in DOMMatrix. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: pdr's comment Created 6 years, 4 months 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
« no previous file with comments | « Source/core/dom/DOMMatrix.cpp ('k') | Source/core/dom/DOMMatrixReadOnly.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 [ 5 [
6 Constructor, 6 Constructor,
7 Constructor(DOMMatrixReadOnly other), 7 Constructor(DOMMatrixReadOnly other),
8 // FIXME: Should implement more constructors (See: crbug.com/388780) 8 // FIXME: Should implement more constructors (See: crbug.com/388780)
9 RuntimeEnabled=GeometryInterfaces, 9 RuntimeEnabled=GeometryInterfaces,
10 ] interface DOMMatrix : DOMMatrixReadOnly { 10 ] interface DOMMatrix : DOMMatrixReadOnly {
(...skipping 17 matching lines...) Expand all
28 attribute unrestricted double m32; 28 attribute unrestricted double m32;
29 attribute unrestricted double m33; 29 attribute unrestricted double m33;
30 attribute unrestricted double m34; 30 attribute unrestricted double m34;
31 attribute unrestricted double m41; 31 attribute unrestricted double m41;
32 attribute unrestricted double m42; 32 attribute unrestricted double m42;
33 attribute unrestricted double m43; 33 attribute unrestricted double m43;
34 attribute unrestricted double m44; 34 attribute unrestricted double m44;
35 35
36 // FIXME: Should implement some methods (See: crbug.com/388780) 36 // FIXME: Should implement some methods (See: crbug.com/388780)
37 // Mutable transform methods 37 // Mutable transform methods
38 DOMMatrix multiplySelf(DOMMatrix other);
39 DOMMatrix preMultiplySelf(DOMMatrix other);
38 DOMMatrix translateSelf(unrestricted double tx, 40 DOMMatrix translateSelf(unrestricted double tx,
39 unrestricted double ty, 41 unrestricted double ty,
40 optional unrestricted double tz = 0); 42 optional unrestricted double tz = 0);
41 DOMMatrix scaleSelf(unrestricted double scale, 43 DOMMatrix scaleSelf(unrestricted double scale,
42 optional unrestricted double ox = 0, 44 optional unrestricted double ox = 0,
43 optional unrestricted double oy = 0); 45 optional unrestricted double oy = 0);
44 DOMMatrix scale3dSelf(unrestricted double scale, 46 DOMMatrix scale3dSelf(unrestricted double scale,
45 optional unrestricted double ox = 0, 47 optional unrestricted double ox = 0,
46 optional unrestricted double oy = 0, 48 optional unrestricted double oy = 0,
47 optional unrestricted double oz = 0); 49 optional unrestricted double oz = 0);
48 DOMMatrix scaleNonUniformSelf(unrestricted double sx, 50 DOMMatrix scaleNonUniformSelf(unrestricted double sx,
49 optional unrestricted double sy = 1, 51 optional unrestricted double sy = 1,
50 optional unrestricted double sz = 1, 52 optional unrestricted double sz = 1,
51 optional unrestricted double ox = 0, 53 optional unrestricted double ox = 0,
52 optional unrestricted double oy = 0, 54 optional unrestricted double oy = 0,
53 optional unrestricted double oz = 0); 55 optional unrestricted double oz = 0);
54 }; 56 };
OLDNEW
« no previous file with comments | « Source/core/dom/DOMMatrix.cpp ('k') | Source/core/dom/DOMMatrixReadOnly.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698