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

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

Issue 479863002: Implement rotate*() methods in DOMMatrix. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add rotateFromVector and rotateAxisAngle 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
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 Constructor, 6 Constructor,
7 Constructor(DOMMatrixReadOnly other), 7 Constructor(DOMMatrixReadOnly other),
8 // FIXME: Should implement more constructors (See: crbug.com/388780) 8 // FIXME: Should implement more constructors (See: crbug.com/388780)
9 RuntimeEnabled=GeometryInterfaces, 9 RuntimeEnabled=GeometryInterfaces,
10 ] interface DOMMatrix : DOMMatrixReadOnly { 10 ] interface DOMMatrix : DOMMatrixReadOnly {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 DOMMatrix scale3dSelf(unrestricted double scale, 44 DOMMatrix scale3dSelf(unrestricted double scale,
45 optional unrestricted double ox = 0, 45 optional unrestricted double ox = 0,
46 optional unrestricted double oy = 0, 46 optional unrestricted double oy = 0,
47 optional unrestricted double oz = 0); 47 optional unrestricted double oz = 0);
48 DOMMatrix scaleNonUniformSelf(unrestricted double sx, 48 DOMMatrix scaleNonUniformSelf(unrestricted double sx,
49 optional unrestricted double sy = 1, 49 optional unrestricted double sy = 1,
50 optional unrestricted double sz = 1, 50 optional unrestricted double sz = 1,
51 optional unrestricted double ox = 0, 51 optional unrestricted double ox = 0,
52 optional unrestricted double oy = 0, 52 optional unrestricted double oy = 0,
53 optional unrestricted double oz = 0); 53 optional unrestricted double oz = 0);
54 DOMMatrix rotateSelf(unrestricted double angle,
55 optional unrestricted double ox = 0,
56 optional unrestricted double oy = 0);
57 DOMMatrix rotateFromVectorSelf(unrestricted double x,
58 unrestricted double y);
59 DOMMatrix rotateAxisAngleSelf(unrestricted double x,
60 unrestricted double y,
61 unrestricted double z,
62 unrestricted double angle);
54 }; 63 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698