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

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

Issue 956203002: Sync the DOM* geometry interfaces with the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | « no previous file | Source/core/dom/DOMMatrixReadOnly.idl » ('j') | Source/core/dom/DOMPoint.idl » ('J')
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 [
6 Constructor, 8 Constructor,
7 Constructor(DOMMatrixReadOnly other), 9 Constructor(DOMMatrixReadOnly other),
8 // FIXME: Should implement more constructors (See: crbug.com/388780) 10 // FIXME: Should implement more constructors (See: crbug.com/388780)
11 // FIXME: Exposed=(Window,Worker)
9 RuntimeEnabled=GeometryInterfaces, 12 RuntimeEnabled=GeometryInterfaces,
10 ] interface DOMMatrix : DOMMatrixReadOnly { 13 ] interface DOMMatrix : DOMMatrixReadOnly {
14 // FIXME: The attributes should have the inherit keyword (See: crbug.com/462 097)
11 // These attributes are simple aliases for certain elements of the 4x4 matri x 15 // These attributes are simple aliases for certain elements of the 4x4 matri x
12 attribute unrestricted double a; 16 attribute unrestricted double a;
13 attribute unrestricted double b; 17 attribute unrestricted double b;
14 attribute unrestricted double c; 18 attribute unrestricted double c;
15 attribute unrestricted double d; 19 attribute unrestricted double d;
16 attribute unrestricted double e; 20 attribute unrestricted double e;
17 attribute unrestricted double f; 21 attribute unrestricted double f;
18 22
19 attribute unrestricted double m11; 23 attribute unrestricted double m11;
20 attribute unrestricted double m12; 24 attribute unrestricted double m12;
(...skipping 13 matching lines...) Expand all
34 attribute unrestricted double m44; 38 attribute unrestricted double m44;
35 39
36 // FIXME: Should implement some methods (See: crbug.com/388780) 40 // FIXME: Should implement some methods (See: crbug.com/388780)
37 // Mutable transform methods 41 // Mutable transform methods
38 DOMMatrix multiplySelf(DOMMatrix other); 42 DOMMatrix multiplySelf(DOMMatrix other);
39 DOMMatrix preMultiplySelf(DOMMatrix other); 43 DOMMatrix preMultiplySelf(DOMMatrix other);
40 DOMMatrix translateSelf(unrestricted double tx, 44 DOMMatrix translateSelf(unrestricted double tx,
41 unrestricted double ty, 45 unrestricted double ty,
42 optional unrestricted double tz = 0); 46 optional unrestricted double tz = 0);
43 DOMMatrix scaleSelf(unrestricted double scale, 47 DOMMatrix scaleSelf(unrestricted double scale,
44 optional unrestricted double ox = 0, 48 optional unrestricted double originX = 0,
45 optional unrestricted double oy = 0); 49 optional unrestricted double originY = 0);
46 DOMMatrix scale3dSelf(unrestricted double scale, 50 DOMMatrix scale3dSelf(unrestricted double scale,
47 optional unrestricted double ox = 0, 51 optional unrestricted double originX = 0,
48 optional unrestricted double oy = 0, 52 optional unrestricted double originY = 0,
49 optional unrestricted double oz = 0); 53 optional unrestricted double originZ = 0);
50 DOMMatrix scaleNonUniformSelf(unrestricted double sx, 54 DOMMatrix scaleNonUniformSelf(unrestricted double scaleX,
51 optional unrestricted double sy = 1, 55 optional unrestricted double scaleY = 1,
52 optional unrestricted double sz = 1, 56 optional unrestricted double scaleZ = 1,
53 optional unrestricted double ox = 0, 57 optional unrestricted double originX = 0,
54 optional unrestricted double oy = 0, 58 optional unrestricted double originY = 0,
55 optional unrestricted double oz = 0); 59 optional unrestricted double originZ = 0);
56 }; 60 };
OLDNEW
« no previous file with comments | « no previous file | Source/core/dom/DOMMatrixReadOnly.idl » ('j') | Source/core/dom/DOMPoint.idl » ('J')

Powered by Google App Engine
This is Rietveld 408576698