OLD | NEW |
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 #include "core/dom/DOMMatrix.h" | 5 #include "core/dom/DOMMatrix.h" |
6 #include "core/dom/DOMMatrixInit.h" | 6 #include "core/dom/DOMMatrixInit.h" |
7 | 7 |
8 namespace blink { | 8 namespace blink { |
9 namespace { | 9 namespace { |
10 | 10 |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 { | 162 { |
163 return DOMMatrix::create(this)->scale3dSelf(scale, ox, oy, oz); | 163 return DOMMatrix::create(this)->scale3dSelf(scale, ox, oy, oz); |
164 } | 164 } |
165 | 165 |
166 DOMMatrix* DOMMatrixReadOnly::scaleNonUniform(double sx, double sy, double sz, | 166 DOMMatrix* DOMMatrixReadOnly::scaleNonUniform(double sx, double sy, double sz, |
167 double ox, double oy, double oz) | 167 double ox, double oy, double oz) |
168 { | 168 { |
169 return DOMMatrix::create(this)->scaleNonUniformSelf(sx, sy, sz, ox, oy, oz); | 169 return DOMMatrix::create(this)->scaleNonUniformSelf(sx, sy, sz, ox, oy, oz); |
170 } | 170 } |
171 | 171 |
| 172 DOMMatrix* DOMMatrixReadOnly::rotateAxisAngle(double x, double y, double z, doub
le angle) |
| 173 { |
| 174 return DOMMatrix::create(this)->rotateAxisAngleSelf(x, y, z, angle); |
| 175 } |
| 176 |
172 DOMMatrix* DOMMatrixReadOnly::skewX(double sx) | 177 DOMMatrix* DOMMatrixReadOnly::skewX(double sx) |
173 { | 178 { |
174 return DOMMatrix::create(this)->skewXSelf(sx); | 179 return DOMMatrix::create(this)->skewXSelf(sx); |
175 } | 180 } |
176 | 181 |
177 DOMMatrix* DOMMatrixReadOnly::skewY(double sy) | 182 DOMMatrix* DOMMatrixReadOnly::skewY(double sy) |
178 { | 183 { |
179 return DOMMatrix::create(this)->skewYSelf(sy); | 184 return DOMMatrix::create(this)->skewYSelf(sy); |
180 } | 185 } |
181 | 186 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 << m21() << ", " << m22() << ", " << m23() << ", " << m24() << ", " | 246 << m21() << ", " << m22() << ", " << m23() << ", " << m24() << ", " |
242 << m31() << ", " << m32() << ", " << m33() << ", " << m34() << ", " | 247 << m31() << ", " << m32() << ", " << m33() << ", " << m34() << ", " |
243 << m41() << ", " << m42() << ", " << m43() << ", " << m44(); | 248 << m41() << ", " << m42() << ", " << m43() << ", " << m44(); |
244 } | 249 } |
245 stream << ")"; | 250 stream << ")"; |
246 | 251 |
247 return String(stream.str().c_str()); | 252 return String(stream.str().c_str()); |
248 } | 253 } |
249 | 254 |
250 } // namespace blink | 255 } // namespace blink |
OLD | NEW |