diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-05-10 13:04:59 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-05-10 13:04:59 +0000 |
commit | 963a8fa542134f3ddbd40165e1b3f9edf9f074dd (patch) | |
tree | 2d7ad48114054341dc5f6165d51f902e5705e283 | |
parent | 75a0972dd7d0dbc614b9fb81b4450a349c005325 (diff) |
remove (unused) reference to SkStrokePathEffect
git-svn-id: http://skia.googlecode.com/svn/trunk@3891 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | samplecode/SampleAll.cpp | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/samplecode/SampleAll.cpp b/samplecode/SampleAll.cpp index b366ee1232..2aea5b021a 100644 --- a/samplecode/SampleAll.cpp +++ b/samplecode/SampleAll.cpp @@ -594,20 +594,7 @@ SkCornerPathEffect.h:28:class SkCornerPathEffect : public SkPathEffect { inner->unref(); return result; } - - SkPathEffect* pathEffectTest2() { // unsure this works (has no visible effect) - SkPathEffect* outer = new SkStrokePathEffect(SkIntToScalar(4), - SkPaint::kStroke_Style, SkPaint::kMiter_Join, SkPaint::kButt_Cap); - static const SkScalar intervals[] = {SkIntToScalar(1), SkIntToScalar(2), - SkIntToScalar(2), SkIntToScalar(1)}; - SkPathEffect* inner = new SkDashPathEffect(intervals, - sizeof(intervals) / sizeof(intervals[0]), 0); - SkPathEffect* result = new SkSumPathEffect(outer, inner); - outer->unref(); - inner->unref(); - return result; - } - + SkShader* shaderTest() { SkPoint pts[] = { { 0, 0, }, { SkIntToScalar(100), 0 } }; SkColor colors[] = { SK_ColorRED, SK_ColorBLUE }; |