aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SampleStrokePath.cpp
diff options
context:
space:
mode:
authorGravatar reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2009-09-21 16:01:32 +0000
committerGravatar reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2009-09-21 16:01:32 +0000
commit7ab2cf90b617e25a2ae031fe12c22d71583eee48 (patch)
tree34f7de633560a66610e1edf085388b6b3726c599 /samplecode/SampleStrokePath.cpp
parent4913b7794ad5f699a92feaee8e514571d218645b (diff)
#if 0 test code for blur, since it references a private header
git-svn-id: http://skia.googlecode.com/svn/trunk@360 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'samplecode/SampleStrokePath.cpp')
-rw-r--r--samplecode/SampleStrokePath.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/samplecode/SampleStrokePath.cpp b/samplecode/SampleStrokePath.cpp
index 24ba918c17..6808556dec 100644
--- a/samplecode/SampleStrokePath.cpp
+++ b/samplecode/SampleStrokePath.cpp
@@ -6,8 +6,9 @@
#include "SkView.h"
#include "SkBlurMaskFilter.h"
-#include "SkBlurMask.h"
+#if 0
+#include "SkBlurMask.h"
static void test_blur() {
uint8_t cell[9];
memset(cell, 0xFF, sizeof(cell));
@@ -39,6 +40,7 @@ static void test_blur() {
}
}
}
+#endif
static void scale_to_width(SkPath* path, SkScalar dstWidth) {
const SkRect& bounds = path->getBounds();
@@ -65,7 +67,7 @@ class StrokePathView : public SkView {
SkPath fPath;
public:
StrokePathView() {
- test_blur();
+// test_blur();
fWidth = SkIntToScalar(120);
#if 0