4REG_FIDDLE(Path_ConvertConicToQuads, 256, 256,
false, 0) {
12 for (
auto weight : { .25f, .5f, .707f, .85f, 1.f } ) {
20 path.moveTo(quads[0]);
21 path.quadTo(quads[1], quads[2]);
22 path.quadTo(quads[3], quads[4]);
REG_FIDDLE(Path_ConvertConicToQuads, 256, 256, false, 0)
constexpr SkColor SK_ColorRED
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void translate(SkScalar dx, SkScalar dy)
void drawPath(const SkPath &path, const SkPaint &paint)
void setStyle(Style style)
void setColor(SkColor color)
void setAntiAlias(bool aa)
@ kStroke_Style
set to stroke geometry
static int ConvertConicToQuads(const SkPoint &p0, const SkPoint &p1, const SkPoint &p2, SkScalar w, SkPoint pts[], int pow2)
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