#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
diff --git a/samplecode/SampleStrokePath.cpp b/samplecode/SampleStrokePath.cpp
index 24ba918..6808556 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 @@
}
}
}
+#endif
static void scale_to_width(SkPath* path, SkScalar dstWidth) {
const SkRect& bounds = path->getBounds();
@@ -65,7 +67,7 @@
SkPath fPath;
public:
StrokePathView() {
- test_blur();
+// test_blur();
fWidth = SkIntToScalar(120);
#if 0