Go to the source code of this file.
|
| REG_FIDDLE (skpaint_dash_path_effect, 256, 256, false, 0) |
|
◆ REG_FIDDLE()
REG_FIDDLE |
( |
skpaint_dash_path_effect |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
false |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file skpaint_dash_path_effect.cpp.
4 {
9 for (
int i = 1;
i < 8; ++
i) {
12 }
14}
16 const SkScalar intervals[] = {10.0f, 5.0f, 2.0f, 5.0f};
17 size_t count =
sizeof(intervals) /
sizeof(intervals[0]);
21 paint.setStrokeWidth(2.0f);
22 paint.setAntiAlias(
true);
26}
27}
constexpr SkColor SK_ColorWHITE
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void clear(SkColor color)
void drawPath(const SkPath &path, const SkPaint &paint)
static sk_sp< SkPathEffect > Make(const SkScalar intervals[], int count, SkScalar phase)
@ kStroke_Style
set to stroke geometry
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