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

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

Issue 2459363002: [GeometryInterface] parameter of scale3d*() was changed. (Closed)
Patch Set: add test. 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 DOMMatrix* multiplySelf(DOMMatrixInit&, ExceptionState&); 81 DOMMatrix* multiplySelf(DOMMatrixInit&, ExceptionState&);
82 DOMMatrix* preMultiplySelf(DOMMatrixInit&, ExceptionState&); 82 DOMMatrix* preMultiplySelf(DOMMatrixInit&, ExceptionState&);
83 DOMMatrix* translateSelf(double tx, double ty, double tz = 0); 83 DOMMatrix* translateSelf(double tx, double ty, double tz = 0);
84 DOMMatrix* scaleSelf(double sx = 1); 84 DOMMatrix* scaleSelf(double sx = 1);
85 DOMMatrix* scaleSelf(double sx, 85 DOMMatrix* scaleSelf(double sx,
86 double sy, 86 double sy,
87 double sz = 1, 87 double sz = 1,
88 double ox = 0, 88 double ox = 0,
89 double oy = 0, 89 double oy = 0,
90 double oz = 0); 90 double oz = 0);
91 DOMMatrix* scale3dSelf(double scale, 91 DOMMatrix* scale3dSelf(double scale = 1,
92 double ox = 0, 92 double ox = 0,
93 double oy = 0, 93 double oy = 0,
94 double oz = 0); 94 double oz = 0);
95 DOMMatrix* rotateSelf(double rotX); 95 DOMMatrix* rotateSelf(double rotX);
96 DOMMatrix* rotateSelf(double rotX, double rotY); 96 DOMMatrix* rotateSelf(double rotX, double rotY);
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&); 107 DOMMatrix* setMatrixValue(const String&, ExceptionState&);
108 108
109 private: 109 private:
110 DOMMatrix(const TransformationMatrix&, bool is2D = true); 110 DOMMatrix(const TransformationMatrix&, bool is2D = true);
111 template <typename T> 111 template <typename T>
112 DOMMatrix(T sequence, int size); 112 DOMMatrix(T sequence, int size);
113 113
114 void setIs2D(bool value); 114 void setIs2D(bool value);
115 void setNAN(); 115 void setNAN();
116 }; 116 };
117 117
118 } // namespace blink 118 } // namespace blink
119 119
120 #endif 120 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698