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

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

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 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
« no previous file with comments | « core/dom/DOMMatrix.idl ('k') | 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 NotScriptWrappable,
8 RuntimeEnabled=GeometryInterfaces, 11 RuntimeEnabled=GeometryInterfaces,
9 ] interface DOMMatrixReadOnly { 12 ] interface DOMMatrixReadOnly {
10 // 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
11 readonly attribute unrestricted double a; 14 readonly attribute unrestricted double a;
12 readonly attribute unrestricted double b; 15 readonly attribute unrestricted double b;
13 readonly attribute unrestricted double c; 16 readonly attribute unrestricted double c;
14 readonly attribute unrestricted double d; 17 readonly attribute unrestricted double d;
15 readonly attribute unrestricted double e; 18 readonly attribute unrestricted double e;
16 readonly attribute unrestricted double f; 19 readonly attribute unrestricted double f;
17 20
(...skipping 12 matching lines...) Expand all
30 readonly attribute unrestricted double m41; 33 readonly attribute unrestricted double m41;
31 readonly attribute unrestricted double m42; 34 readonly attribute unrestricted double m42;
32 readonly attribute unrestricted double m43; 35 readonly attribute unrestricted double m43;
33 readonly attribute unrestricted double m44; 36 readonly attribute unrestricted double m44;
34 37
35 readonly attribute boolean is2D; 38 readonly attribute boolean is2D;
36 readonly attribute boolean isIdentity; 39 readonly attribute boolean isIdentity;
37 40
38 // FIXME: Should implement some methods (See: crbug.com/388780) 41 // FIXME: Should implement some methods (See: crbug.com/388780)
39 // Immutable transform methods 42 // Immutable transform methods
40 DOMMatrix multiply(DOMMatrix other);
41 DOMMatrix translate(unrestricted double tx, 43 DOMMatrix translate(unrestricted double tx,
42 unrestricted double ty, 44 unrestricted double ty,
43 optional unrestricted double tz = 0); 45 optional unrestricted double tz = 0);
44 DOMMatrix scale(unrestricted double scale, 46 DOMMatrix scale(unrestricted double scale,
45 optional unrestricted double ox = 0, 47 optional unrestricted double originX = 0,
46 optional unrestricted double oy = 0); 48 optional unrestricted double originY = 0);
47 DOMMatrix scale3d(unrestricted double scale, 49 DOMMatrix scale3d(unrestricted double scale,
48 optional unrestricted double ox = 0, 50 optional unrestricted double originX = 0,
49 optional unrestricted double oy = 0, 51 optional unrestricted double originY = 0,
50 optional unrestricted double oz = 0); 52 optional unrestricted double originZ = 0);
51 DOMMatrix scaleNonUniform(unrestricted double sx, 53 DOMMatrix scaleNonUniform(unrestricted double scaleX,
52 optional unrestricted double sy = 1, 54 optional unrestricted double scaleY = 1,
53 optional unrestricted double sz = 1, 55 optional unrestricted double scaleZn = 1,
54 optional unrestricted double ox = 0, 56 optional unrestricted double originX = 0,
55 optional unrestricted double oy = 0, 57 optional unrestricted double originY = 0,
56 optional unrestricted double oz = 0); 58 optional unrestricted double originZ = 0);
59 DOMMatrix multiply(DOMMatrix other);
60
57 Float32Array toFloat32Array(); 61 Float32Array toFloat32Array();
58 Float64Array toFloat64Array(); 62 Float64Array toFloat64Array();
59 }; 63 };
OLDNEW
« no previous file with comments | « core/dom/DOMMatrix.idl ('k') | core/dom/DOMPoint.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698