9 for (
int i = 1;
i < 8; ++
i) {
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);
25 paint.setColor(0xff4285F4);
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)
REG_FIDDLE(compose_path, 256, 256, false, 0)
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