Revert accidental change to sample code
authorbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 7 Sep 2011 18:44:17 +0000 (18:44 +0000)
committerbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 7 Sep 2011 18:44:17 +0000 (18:44 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@2240 2bbb7eff-a529-9590-31e7-b0007b416f81

samplecode/SampleHairCurves.cpp

index a3ea5e1..152cbeb 100644 (file)
@@ -28,11 +28,6 @@ protected:
 
 
     virtual void onDrawContent(SkCanvas* canvas) {
-        SkMatrix m;
-        m.reset();
-        m.setPerspX(0.00020);
-        canvas->concat(m);
-
         SkPaint paint;
         paint.setAntiAlias(true);
         paint.setStyle(SkPaint::kStroke_Style);
@@ -43,7 +38,6 @@ protected:
         SkPath curves;
         SkPath hulls;
         SkPath ctrlPts;
-
         for (int i = 0; i < 100; ++i) {
             SkScalar pts[] = {
                 rand.nextUScalar1(), rand.nextUScalar1(),