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

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

Issue 2309013002: [GeometryInterface] Add fromFloat32Array & fromFloat64Array function (Closed)
Patch Set: [GeometryInterface] Add fromFloat32Array & fromFloat64Array function Created 4 years, 3 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
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 5 // http://dev.w3.org/fxtf/geometry/#DOMMatrix
6 6
7 [ 7 [
8 Constructor, 8 Constructor,
9 Constructor(DOMMatrixReadOnly other), 9 Constructor(DOMMatrixReadOnly other),
10 // FIXME: Should implement more constructors (See: crbug.com/388780) 10 // FIXME: Should implement more constructors (See: crbug.com/388780)
11 // FIXME: Exposed=(Window,Worker) 11 // FIXME: Exposed=(Window,Worker)
12 RuntimeEnabled=GeometryInterfaces, 12 RuntimeEnabled=GeometryInterfaces,
13 ] interface DOMMatrix : DOMMatrixReadOnly { 13 ] interface DOMMatrix : DOMMatrixReadOnly {
14 [RaisesException, NewObject] static DOMMatrix fromFloat32Array(Float32Array array32);
15 [RaisesException, NewObject] static DOMMatrix fromFloat64Array(Float64Array array64);
16
14 // These attributes are simple aliases for certain elements of the 4x4 matri x 17 // These attributes are simple aliases for certain elements of the 4x4 matri x
15 inherit attribute unrestricted double a; 18 inherit attribute unrestricted double a;
16 inherit attribute unrestricted double b; 19 inherit attribute unrestricted double b;
17 inherit attribute unrestricted double c; 20 inherit attribute unrestricted double c;
18 inherit attribute unrestricted double d; 21 inherit attribute unrestricted double d;
19 inherit attribute unrestricted double e; 22 inherit attribute unrestricted double e;
20 inherit attribute unrestricted double f; 23 inherit attribute unrestricted double f;
21 24
22 inherit attribute unrestricted double m11; 25 inherit attribute unrestricted double m11;
23 inherit attribute unrestricted double m12; 26 inherit attribute unrestricted double m12;
(...skipping 29 matching lines...) Expand all
53 DOMMatrix scaleNonUniformSelf(unrestricted double scaleX, 56 DOMMatrix scaleNonUniformSelf(unrestricted double scaleX,
54 optional unrestricted double scaleY = 1, 57 optional unrestricted double scaleY = 1,
55 optional unrestricted double scaleZ = 1, 58 optional unrestricted double scaleZ = 1,
56 optional unrestricted double originX = 0, 59 optional unrestricted double originX = 0,
57 optional unrestricted double originY = 0, 60 optional unrestricted double originY = 0,
58 optional unrestricted double originZ = 0); 61 optional unrestricted double originZ = 0);
59 DOMMatrix skewXSelf(optional unrestricted double sx = 0); 62 DOMMatrix skewXSelf(optional unrestricted double sx = 0);
60 DOMMatrix skewYSelf(optional unrestricted double sy = 0); 63 DOMMatrix skewYSelf(optional unrestricted double sy = 0);
61 DOMMatrix invertSelf(); 64 DOMMatrix invertSelf();
62 }; 65 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/DOMMatrix.cpp ('k') | third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698