Index: samplecode/SampleApp.cpp |
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp |
index 05eac2f471fba40ea4550d39c4ccacac74b776d1..105976d2f404f217972433d3d97b10b54b4819e4 100644 |
--- a/samplecode/SampleApp.cpp |
+++ b/samplecode/SampleApp.cpp |
@@ -1362,6 +1362,7 @@ void SampleWindow::afterChildren(SkCanvas* orig) { |
SkCanvas* c = surfs[index]->getCanvas(); |
c->translate(SkIntToScalar(-x * n.width()), |
SkIntToScalar(-y * n.height())); |
+ c->concat(orig->getTotalMatrix()); |
md.add(c, picture, NULL, NULL); |
index++; |
} |