Go to the source code of this file.
|
| REG_FIDDLE (draw_image_nine_blur_mask, 256, 256, false, 6) |
|
◆ REG_FIDDLE()
REG_FIDDLE |
( |
draw_image_nine_blur_mask |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
false |
, |
|
|
6 |
|
|
) |
| |
Definition at line 4 of file draw_image_nine_blur_mask.cpp.
4 {
8 canvas->
clear(0xFFFF4444);
11}
12}
@ 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)
sk_sp< const SkImage > image