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

Side by Side Diff: Source/core/dom/DOMMatrixReadOnly.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/DOMMatrixReadOnly.cpp ('k') | no next file » | 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 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 18 matching lines...) Expand all
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 38 // Immutable transform methods
39 DOMMatrix multiply(DOMMatrix other);
39 DOMMatrix translate(unrestricted double tx, 40 DOMMatrix translate(unrestricted double tx,
40 unrestricted double ty, 41 unrestricted double ty,
41 optional unrestricted double tz = 0); 42 optional unrestricted double tz = 0);
42 DOMMatrix scale(unrestricted double scale, 43 DOMMatrix scale(unrestricted double scale,
43 optional unrestricted double ox = 0, 44 optional unrestricted double ox = 0,
44 optional unrestricted double oy = 0); 45 optional unrestricted double oy = 0);
45 DOMMatrix scale3d(unrestricted double scale, 46 DOMMatrix scale3d(unrestricted double scale,
46 optional unrestricted double ox = 0, 47 optional unrestricted double ox = 0,
47 optional unrestricted double oy = 0, 48 optional unrestricted double oy = 0,
48 optional unrestricted double oz = 0); 49 optional unrestricted double oz = 0);
49 DOMMatrix scaleNonUniform(unrestricted double sx, 50 DOMMatrix scaleNonUniform(unrestricted double sx,
50 optional unrestricted double sy = 1, 51 optional unrestricted double sy = 1,
51 optional unrestricted double sz = 1, 52 optional unrestricted double sz = 1,
52 optional unrestricted double ox = 0, 53 optional unrestricted double ox = 0,
53 optional unrestricted double oy = 0, 54 optional unrestricted double oy = 0,
54 optional unrestricted double oz = 0); 55 optional unrestricted double oz = 0);
55 Float32Array toFloat32Array(); 56 Float32Array toFloat32Array();
56 Float64Array toFloat64Array(); 57 Float64Array toFloat64Array();
57 }; 58 };
OLDNEW
« no previous file with comments | « Source/core/dom/DOMMatrixReadOnly.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698