Go to the source code of this file.
|
| REG_FIDDLE (skbug_237_drawImage_with_blur, 256, 256, false, 6) |
|
◆ REG_FIDDLE()
REG_FIDDLE |
( |
skbug_237_drawImage_with_blur |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
false |
, |
|
|
6 |
|
|
) |
| |
Definition at line 4 of file skbug_237_drawImage_with_blur.cpp.
4 {
8 canvas->
clear(0xFF88FF88);
12}
13}
@ kNormal_SkBlurStyle
fuzzy inside and outside
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void clear(SkColor color)
void scale(SkScalar sx, SkScalar sy)
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
virtual sk_sp< SkImage > makeSubset(GrDirectContext *direct, const SkIRect &subset) const =0
static sk_sp< SkMaskFilter > MakeBlur(SkBlurStyle style, SkScalar sigma, bool respectCTM=true)
sk_sp< const SkImage > image
SkSamplingOptions(SkFilterMode::kLinear))