diff options
author | 2013-07-17 19:30:41 +0000 | |
---|---|---|
committer | 2013-07-17 19:30:41 +0000 | |
commit | a308883003e36cbff4d1c4c2d2e7fceb3eea95b1 (patch) | |
tree | 5ad59dc4bea1b3fe85167d6956a731ac96580f2d /samplecode/SampleHairCurves.cpp | |
parent | d658568a8260b858411e975b1a6011d2a496cc6f (diff) |
Add bench for hairline paths.
R=bsalomon@google.com
Review URL: https://codereview.chromium.org/19238003
git-svn-id: http://skia.googlecode.com/svn/trunk@10128 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'samplecode/SampleHairCurves.cpp')
-rw-r--r-- | samplecode/SampleHairCurves.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/SampleHairCurves.cpp b/samplecode/SampleHairCurves.cpp index d121cf043c..183fc10995 100644 --- a/samplecode/SampleHairCurves.cpp +++ b/samplecode/SampleHairCurves.cpp @@ -31,7 +31,7 @@ protected: SkPaint paint; paint.setAntiAlias(true); paint.setStyle(SkPaint::kStroke_Style); - paint.setStrokeWidth(-1); + paint.setStrokeWidth(0); canvas->save(); canvas->scale(1000 * SK_Scalar1, 1000 * SK_Scalar1); SkRandom rand; |