| 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 | 6 |
| 7 namespace blink { | 7 namespace blink { |
| 8 | 8 |
| 9 DOMMatrix* DOMMatrix::create() | 9 DOMMatrix* DOMMatrix::create() |
| 10 { | 10 { |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 m_matrix->scaleNonUniform(sx, sy); | 99 m_matrix->scaleNonUniform(sx, sy); |
| 100 else | 100 else |
| 101 m_matrix->scale3d(sx, sy, sz); | 101 m_matrix->scale3d(sx, sy, sz); |
| 102 | 102 |
| 103 if (hasTranslation) | 103 if (hasTranslation) |
| 104 translateSelf(-ox, -oy, -oz); | 104 translateSelf(-ox, -oy, -oz); |
| 105 | 105 |
| 106 return this; | 106 return this; |
| 107 } | 107 } |
| 108 | 108 |
| 109 DOMMatrix* DOMMatrix::skewXSelf(double sx) |
| 110 { |
| 111 m_matrix->skewX(sx); |
| 112 return this; |
| 113 } |
| 114 |
| 115 DOMMatrix* DOMMatrix::skewYSelf(double sy) |
| 116 { |
| 117 m_matrix->skewY(sy); |
| 118 return this; |
| 119 } |
| 120 |
| 109 } // namespace blink | 121 } // namespace blink |
| OLD | NEW |