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

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

Issue 479863002: Implement rotate*() methods in DOMMatrix. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: use testharnessreport.js Created 6 years, 4 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 | « Source/core/dom/DOMMatrixReadOnly.cpp ('k') | no next file » | 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 [ 5 [
6 GarbageCollected, 6 GarbageCollected,
7 RuntimeEnabled=GeometryInterfaces, 7 RuntimeEnabled=GeometryInterfaces,
8 ] interface DOMMatrixReadOnly { 8 ] interface DOMMatrixReadOnly {
9 // These attributes are simple aliases for certain elements of the 4x4 matri x 9 // These attributes are simple aliases for certain elements of the 4x4 matri x
10 readonly attribute unrestricted double a; 10 readonly attribute unrestricted double a;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 DOMMatrix scale3d(unrestricted double scale, 46 DOMMatrix scale3d(unrestricted double scale,
47 optional unrestricted double ox = 0, 47 optional unrestricted double ox = 0,
48 optional unrestricted double oy = 0, 48 optional unrestricted double oy = 0,
49 optional unrestricted double oz = 0); 49 optional unrestricted double oz = 0);
50 DOMMatrix scaleNonUniform(unrestricted double sx, 50 DOMMatrix scaleNonUniform(unrestricted double sx,
51 optional unrestricted double sy = 1, 51 optional unrestricted double sy = 1,
52 optional unrestricted double sz = 1, 52 optional unrestricted double sz = 1,
53 optional unrestricted double ox = 0, 53 optional unrestricted double ox = 0,
54 optional unrestricted double oy = 0, 54 optional unrestricted double oy = 0,
55 optional unrestricted double oz = 0); 55 optional unrestricted double oz = 0);
56 DOMMatrix rotate(unrestricted double angle,
57 optional unrestricted double ox = 0,
58 optional unrestricted double oy = 0);
59 DOMMatrix rotateFromVector(unrestricted double x,
60 unrestricted double y);
61 DOMMatrix rotateAxisAngle(unrestricted double x,
62 unrestricted double y,
63 unrestricted double z,
64 unrestricted double angle);
65
56 Float32Array toFloat32Array(); 66 Float32Array toFloat32Array();
57 Float64Array toFloat64Array(); 67 Float64Array toFloat64Array();
58 }; 68 };
OLDNEW
« no previous file with comments | « Source/core/dom/DOMMatrixReadOnly.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698