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

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

Issue 2380713004: [GeometryInterface] Add setMatrixValue(transfromList) function. (Closed)
Patch Set: [GeometryInterface] Add setMatrixValue(transfromList) function. Created 4 years, 1 month 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 #ifndef DOMMatrix_h 5 #ifndef DOMMatrix_h
6 #define DOMMatrix_h 6 #define DOMMatrix_h
7 7
8 #include "bindings/core/v8/ExceptionStatePlaceholder.h" 8 #include "bindings/core/v8/ExceptionStatePlaceholder.h"
9 #include "core/dom/DOMMatrixInit.h" 9 #include "core/dom/DOMMatrixInit.h"
10 #include "core/dom/DOMMatrixReadOnly.h" 10 #include "core/dom/DOMMatrixReadOnly.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 DOMMatrix* rotateSelf(double rotX, double rotY, double rotZ); 97 DOMMatrix* rotateSelf(double rotX, double rotY, double rotZ);
98 DOMMatrix* rotateFromVectorSelf(double x, double y); 98 DOMMatrix* rotateFromVectorSelf(double x, double y);
99 DOMMatrix* rotateAxisAngleSelf(double x = 0, 99 DOMMatrix* rotateAxisAngleSelf(double x = 0,
100 double y = 0, 100 double y = 0,
101 double z = 0, 101 double z = 0,
102 double angle = 0); 102 double angle = 0);
103 DOMMatrix* skewXSelf(double sx = 0); 103 DOMMatrix* skewXSelf(double sx = 0);
104 DOMMatrix* skewYSelf(double sy = 0); 104 DOMMatrix* skewYSelf(double sy = 0);
105 DOMMatrix* invertSelf(); 105 DOMMatrix* invertSelf();
106 106
107 DOMMatrix* setMatrixValue(const String&, ExceptionState&);
108
107 private: 109 private:
108 DOMMatrix(const TransformationMatrix&, bool is2D = true); 110 DOMMatrix(const TransformationMatrix&, bool is2D = true);
109 template <typename T> 111 template <typename T>
110 DOMMatrix(T sequence, int size); 112 DOMMatrix(T sequence, int size);
111 113
112 void setIs2D(bool value); 114 void setIs2D(bool value);
113 void setNAN(); 115 void setNAN();
114 }; 116 };
115 117
116 } // namespace blink 118 } // namespace blink
117 119
118 #endif 120 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/resolver/TransformBuilder.cpp ('k') | third_party/WebKit/Source/core/dom/DOMMatrix.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698