| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2012 Google Inc. | 3 * Copyright 2012 Google Inc. |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 | 9 |
| 10 #include "SkDrawCommand.h" | 10 #include "SkDrawCommand.h" |
| (...skipping 969 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 980 | 980 |
| 981 void SkSetMatrixCommand::setUserMatrix(const SkMatrix& userMatrix) { | 981 void SkSetMatrixCommand::setUserMatrix(const SkMatrix& userMatrix) { |
| 982 fUserMatrix = userMatrix; | 982 fUserMatrix = userMatrix; |
| 983 } | 983 } |
| 984 | 984 |
| 985 void SkSetMatrixCommand::execute(SkCanvas* canvas) const { | 985 void SkSetMatrixCommand::execute(SkCanvas* canvas) const { |
| 986 SkMatrix temp = SkMatrix::Concat(fUserMatrix, fMatrix); | 986 SkMatrix temp = SkMatrix::Concat(fUserMatrix, fMatrix); |
| 987 canvas->setMatrix(temp); | 987 canvas->setMatrix(temp); |
| 988 } | 988 } |
| 989 | 989 |
| OLD | NEW |