4REG_FIDDLE(draw_image_nine_blur_mask, 256, 256,
false, 6) {
8 canvas->
clear(0xFFFF4444);
@ kNormal_SkBlurStyle
fuzzy inside and outside
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawImageNine(const SkImage *image, const SkIRect ¢er, const SkRect &dst, SkFilterMode filter, const SkPaint *paint=nullptr)
void clear(SkColor color)
static sk_sp< SkMaskFilter > MakeBlur(SkBlurStyle style, SkScalar sigma, bool respectCTM=true)
REG_FIDDLE(draw_image_nine_blur_mask, 256, 256, false, 6)
sk_sp< const SkImage > image