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

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

Issue 956203002: Sync the DOM* geometry interfaces with the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add inherit and tweak constructors Created 5 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/DOMMatrix.idl ('k') | Source/core/dom/DOMPoint.idl » ('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 // http://dev.w3.org/fxtf/geometry/#DOMMatrix
6
5 [ 7 [
8 // FIXME: Constructor(sequence<unrestricted double> numberSequence)
9 // FIXME: Exposed=(Window,Worker)
6 GarbageCollected, 10 GarbageCollected,
7 RuntimeEnabled=GeometryInterfaces, 11 RuntimeEnabled=GeometryInterfaces,
8 ] interface DOMMatrixReadOnly { 12 ] interface DOMMatrixReadOnly {
9 // These attributes are simple aliases for certain elements of the 4x4 matri x 13 // These attributes are simple aliases for certain elements of the 4x4 matri x
10 readonly attribute unrestricted double a; 14 readonly attribute unrestricted double a;
11 readonly attribute unrestricted double b; 15 readonly attribute unrestricted double b;
12 readonly attribute unrestricted double c; 16 readonly attribute unrestricted double c;
13 readonly attribute unrestricted double d; 17 readonly attribute unrestricted double d;
14 readonly attribute unrestricted double e; 18 readonly attribute unrestricted double e;
15 readonly attribute unrestricted double f; 19 readonly attribute unrestricted double f;
(...skipping 13 matching lines...) Expand all
29 readonly attribute unrestricted double m41; 33 readonly attribute unrestricted double m41;
30 readonly attribute unrestricted double m42; 34 readonly attribute unrestricted double m42;
31 readonly attribute unrestricted double m43; 35 readonly attribute unrestricted double m43;
32 readonly attribute unrestricted double m44; 36 readonly attribute unrestricted double m44;
33 37
34 readonly attribute boolean is2D; 38 readonly attribute boolean is2D;
35 readonly attribute boolean isIdentity; 39 readonly attribute boolean isIdentity;
36 40
37 // FIXME: Should implement some methods (See: crbug.com/388780) 41 // FIXME: Should implement some methods (See: crbug.com/388780)
38 // Immutable transform methods 42 // Immutable transform methods
39 DOMMatrix multiply(DOMMatrix other);
40 DOMMatrix translate(unrestricted double tx, 43 DOMMatrix translate(unrestricted double tx,
41 unrestricted double ty, 44 unrestricted double ty,
42 optional unrestricted double tz = 0); 45 optional unrestricted double tz = 0);
43 DOMMatrix scale(unrestricted double scale, 46 DOMMatrix scale(unrestricted double scale,
44 optional unrestricted double ox = 0, 47 optional unrestricted double originX = 0,
45 optional unrestricted double oy = 0); 48 optional unrestricted double originY = 0);
46 DOMMatrix scale3d(unrestricted double scale, 49 DOMMatrix scale3d(unrestricted double scale,
47 optional unrestricted double ox = 0, 50 optional unrestricted double originX = 0,
48 optional unrestricted double oy = 0, 51 optional unrestricted double originY = 0,
49 optional unrestricted double oz = 0); 52 optional unrestricted double originZ = 0);
50 DOMMatrix scaleNonUniform(unrestricted double sx, 53 DOMMatrix scaleNonUniform(unrestricted double scaleX,
51 optional unrestricted double sy = 1, 54 optional unrestricted double scaleY = 1,
52 optional unrestricted double sz = 1, 55 optional unrestricted double scaleZn = 1,
53 optional unrestricted double ox = 0, 56 optional unrestricted double originX = 0,
54 optional unrestricted double oy = 0, 57 optional unrestricted double originY = 0,
55 optional unrestricted double oz = 0); 58 optional unrestricted double originZ = 0);
59 DOMMatrix multiply(DOMMatrix other);
60
56 Float32Array toFloat32Array(); 61 Float32Array toFloat32Array();
57 Float64Array toFloat64Array(); 62 Float64Array toFloat64Array();
58 }; 63 };
OLDNEW
« no previous file with comments | « Source/core/dom/DOMMatrix.idl ('k') | Source/core/dom/DOMPoint.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698