Go to the source code of this file.
◆ REG_FIDDLE()
REG_FIDDLE |
( |
fluttershadow |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
false |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file fluttershadow.cpp.
4 {
9 path.moveTo(50.0, 50.0);
10
11
12 path.lineTo(60.0, 50.0);
13 path.lineTo(60.0, 60.0);
14 path.lineTo(70.0, 60.0);
15 path.lineTo(70.0, 50.0);
16
17 path.lineTo(150.0, 50.0);
18 path.lineTo(150.0, 150.0);
19 path.lineTo(50.0, 150.0);
23}
24}
@ kNormal_SkBlurStyle
fuzzy inside and outside
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawPath(const SkPath &path, const SkPaint &paint)
static sk_sp< SkMaskFilter > MakeBlur(SkBlurStyle style, SkScalar sigma, bool respectCTM=true)
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path