4REG_FIDDLE(SkPath_arcTo_example, 512, 512,
false, 0) {
9 paint.setAntiAlias(
true);
11 paint.setStrokeWidth(2.5);
21 paint.setStrokeWidth(5);
static constexpr SkColor SkColorSetARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b)
REG_FIDDLE(SkPath_arcTo_example, 512, 512, false, 0)
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawOval(const SkRect &oval, const SkPaint &paint)
void clear(SkColor color)
void drawPath(const SkPath &path, const SkPaint &paint)
@ kStroke_Style
set to stroke geometry
SkPath & arcTo(const SkRect &oval, SkScalar startAngle, SkScalar sweepAngle, bool forceMoveTo)