| 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 #ifndef DOMMatrix_h | 5 #ifndef DOMMatrix_h |
| 6 #define DOMMatrix_h | 6 #define DOMMatrix_h |
| 7 | 7 |
| 8 #include "core/dom/DOMMatrixReadOnly.h" | 8 #include "core/dom/DOMMatrixReadOnly.h" |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 DOMMatrix* multiplySelf(DOMMatrix*); | 41 DOMMatrix* multiplySelf(DOMMatrix*); |
| 42 DOMMatrix* preMultiplySelf(DOMMatrix*); | 42 DOMMatrix* preMultiplySelf(DOMMatrix*); |
| 43 DOMMatrix* translateSelf(double tx, double ty, double tz = 0); | 43 DOMMatrix* translateSelf(double tx, double ty, double tz = 0); |
| 44 DOMMatrix* scaleSelf(double scale, double ox = 0, double oy = 0); | 44 DOMMatrix* scaleSelf(double scale, double ox = 0, double oy = 0); |
| 45 DOMMatrix* scale3dSelf(double scale, double ox = 0, double oy = 0, double oz
= 0); | 45 DOMMatrix* scale3dSelf(double scale, double ox = 0, double oy = 0, double oz
= 0); |
| 46 DOMMatrix* scaleNonUniformSelf(double sx, double sy = 1, double sz = 1, | 46 DOMMatrix* scaleNonUniformSelf(double sx, double sy = 1, double sz = 1, |
| 47 double ox = 0, double oy = 0, double oz = 0); | 47 double ox = 0, double oy = 0, double oz = 0); |
| 48 DOMMatrix* rotateSelf(double angle, double ox = 0, double oy = 0); | 48 DOMMatrix* rotateSelf(double angle, double ox = 0, double oy = 0); |
| 49 DOMMatrix* rotateFromVectorSelf(double x, double y); | 49 DOMMatrix* rotateFromVectorSelf(double x, double y); |
| 50 DOMMatrix* rotateAxisAngleSelf(double x, double y, double z, double angle); | 50 DOMMatrix* rotateAxisAngleSelf(double x, double y, double z, double angle); |
| 51 DOMMatrix* skewXSelf(double sx); |
| 52 DOMMatrix* skewYSelf(double sy); |
| 51 | 53 |
| 52 private: | 54 private: |
| 53 DOMMatrix(const TransformationMatrix&, bool is2D = true); | 55 DOMMatrix(const TransformationMatrix&, bool is2D = true); |
| 54 | 56 |
| 55 void setIs2D(bool value); | 57 void setIs2D(bool value); |
| 56 }; | 58 }; |
| 57 | 59 |
| 58 } // namespace blink | 60 } // namespace blink |
| 59 | 61 |
| 60 #endif | 62 #endif |
| OLD | NEW |