5static constexpr float kPi = 3.14159265358979323846f;
10 p.setColor(0x88FF0000);
15 SkScalar interv[2] = {120 *
kPi / 6 - 0.05f, 0.0000f};
19 path.addCircle(128, 128, 60);
22 p.setColor(0x8800FF00);
23 SkScalar interv2[2] = {120 *
kPi / 6 - 0.05f, 10000.0000f};
28 p.setColor(0xFF000000);
30 p.setPathEffect(
nullptr);
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawPath(const SkPath &path, const SkPaint &paint)
void drawCircle(SkScalar cx, SkScalar cy, SkScalar radius, 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
SK_API bool FillPathWithPaint(const SkPath &src, const SkPaint &paint, SkPath *dst, const SkRect *cullRect, SkScalar resScale=1)
REG_FIDDLE(zero_off_dashing, 256, 256, false, 0)