Index: samplecode/SampleApp.cpp |
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp |
index 08e7240f989f1bd131fcadb5318d66c3f774cd1a..6ca67bcbcd75aea22fe010a46a43def2d058efa4 100644 |
--- a/samplecode/SampleApp.cpp |
+++ b/samplecode/SampleApp.cpp |
@@ -1407,7 +1407,13 @@ void SampleWindow::beforeChild(SkView* child, SkCanvas* canvas) { |
t = SkScalarMul(SkScalarDiv(t, gAnimPeriod), gAnimMag); |
SkMatrix m; |
m.reset(); |
+#if 1 |
m.setPerspY(t); |
+#else |
+ m.setPerspY(SK_Scalar1 / 1000); |
+ m.setSkewX(SkScalarDiv(8, 25)); |
+ m.dump(); |
+#endif |
canvas->concat(m); |
} |