7 paint.setAntiAlias(
true);
9 paint.setStrokeWidth(4);
11 float intervals[] = { 5, 5 };
13 for (
auto degrees : { 270, 360, 540, 720 } ) {
REG_FIDDLE(Canvas_drawArc_b, 256, 64, false, 0)
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void translate(SkScalar dx, SkScalar dy)
void drawArc(const SkRect &oval, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, const SkPaint &paint)
static sk_sp< SkPathEffect > Make(const SkScalar intervals[], int count, SkScalar phase)
@ kStroke_Style
set to stroke geometry