Go to the source code of this file.
|
| REG_FIDDLE (skpaint_compose_path_effect, 256, 256, false, 0) |
|
◆ REG_FIDDLE()
REG_FIDDLE |
( |
skpaint_compose_path_effect |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
false |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file skpaint_compose_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]);
23 paint.setStrokeWidth(2.0f);
24 paint.setAntiAlias(
true);
28}
29}
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)
static sk_sp< SkPathEffect > Make(SkScalar segLength, SkScalar dev, uint32_t seedAssist=0)
@ kStroke_Style
set to stroke geometry
static sk_sp< SkPathEffect > MakeCompose(sk_sp< SkPathEffect > outer, sk_sp< SkPathEffect > inner)
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