Go to the source code of this file.
|
| REG_FIDDLE (Paint_setMaskFilter, 256, 256, false, 0) |
|
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Paint_setMaskFilter |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
false |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file Paint_setMaskFilter.cpp.
4 {
8 paint.setStrokeWidth(10);
11}
12}
@ kNormal_SkBlurStyle
fuzzy inside and outside
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawRect(const SkRect &rect, const SkPaint &paint)
static sk_sp< SkMaskFilter > MakeBlur(SkBlurStyle style, SkScalar sigma, bool respectCTM=true)
@ kStroke_Style
set to stroke geometry
static constexpr SkRect MakeXYWH(float x, float y, float w, float h)