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

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

Issue 2771683005: Revert of Move geometry interface files to geometry directory. (Closed)
Patch Set: Created 3 years, 9 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 // https://dev.w3.org/fxtf/geometry/#DOMMatrix
6
7 [
8 Constructor,
9 Constructor(DOMString transformList),
10 Constructor(sequence<unrestricted double> numberSequence),
11 RaisesException=Constructor,
12 Exposed=(Window,Worker),
13 RuntimeEnabled=GeometryInterfaces,
14 ] interface DOMMatrix : DOMMatrixReadOnly {
15 [RaisesException, NewObject] static DOMMatrix fromMatrix(optional DOMMatrixI nit other);
16 [RaisesException, NewObject] static DOMMatrix fromFloat32Array(Float32Array array32);
17 [RaisesException, NewObject] static DOMMatrix fromFloat64Array(Float64Array array64);
18
19 // These attributes are simple aliases for certain elements of the 4x4 matri x
20 inherit attribute unrestricted double a;
21 inherit attribute unrestricted double b;
22 inherit attribute unrestricted double c;
23 inherit attribute unrestricted double d;
24 inherit attribute unrestricted double e;
25 inherit attribute unrestricted double f;
26
27 inherit attribute unrestricted double m11;
28 inherit attribute unrestricted double m12;
29 inherit attribute unrestricted double m13;
30 inherit attribute unrestricted double m14;
31 inherit attribute unrestricted double m21;
32 inherit attribute unrestricted double m22;
33 inherit attribute unrestricted double m23;
34 inherit attribute unrestricted double m24;
35 inherit attribute unrestricted double m31;
36 inherit attribute unrestricted double m32;
37 inherit attribute unrestricted double m33;
38 inherit attribute unrestricted double m34;
39 inherit attribute unrestricted double m41;
40 inherit attribute unrestricted double m42;
41 inherit attribute unrestricted double m43;
42 inherit attribute unrestricted double m44;
43
44 // Mutable transform methods
45 [RaisesException] DOMMatrix multiplySelf(optional DOMMatrixInit other);
46 [RaisesException] DOMMatrix preMultiplySelf(optional DOMMatrixInit other);
47 DOMMatrix translateSelf(optional unrestricted double tx = 0,
48 optional unrestricted double ty = 0,
49 optional unrestricted double tz = 0);
50 DOMMatrix scaleSelf(optional unrestricted double scaleX = 1,
51 optional unrestricted double scaleY,
52 optional unrestricted double scaleZ = 1,
53 optional unrestricted double originX = 0,
54 optional unrestricted double originY = 0,
55 optional unrestricted double originZ = 0);
56 DOMMatrix scale3dSelf(optional unrestricted double scale = 1,
57 optional unrestricted double originX = 0,
58 optional unrestricted double originY = 0,
59 optional unrestricted double originZ = 0);
60 DOMMatrix rotateSelf(optional unrestricted double rotX = 0,
61 optional unrestricted double rotY,
62 optional unrestricted double rotZ);
63 DOMMatrix rotateFromVectorSelf(optional unrestricted double x = 0,
64 optional unrestricted double y = 0);
65 DOMMatrix rotateAxisAngleSelf(optional unrestricted double x = 0,
66 optional unrestricted double y = 0,
67 optional unrestricted double z = 0,
68 optional unrestricted double angle = 0);
69 DOMMatrix skewXSelf(optional unrestricted double sx = 0);
70 DOMMatrix skewYSelf(optional unrestricted double sy = 0);
71 DOMMatrix invertSelf();
72
73 [RaisesException] DOMMatrix setMatrixValue(DOMString transformList);
74 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/DOMMatrix.cpp ('k') | third_party/WebKit/Source/core/dom/DOMMatrixInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698