aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SampleHairCurves.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-09-07 18:44:17 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-09-07 18:44:17 +0000
commite4123e9886411ba5a9e04b276342331623201460 (patch)
treeac704ebb311e2672920e331f2f5093caef953b38 /samplecode/SampleHairCurves.cpp
parent181e9bd9484ece4132e0cc5cfcff602134e5489d (diff)
Revert accidental change to sample code
git-svn-id: http://skia.googlecode.com/svn/trunk@2240 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'samplecode/SampleHairCurves.cpp')
-rw-r--r--samplecode/SampleHairCurves.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/samplecode/SampleHairCurves.cpp b/samplecode/SampleHairCurves.cpp
index a3ea5e103d..152cbeb09c 100644
--- a/samplecode/SampleHairCurves.cpp
+++ b/samplecode/SampleHairCurves.cpp
@@ -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(),