#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
This commit is contained in:
parent
4913b7794a
commit
7ab2cf90b6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user