7 paint.setAntiAlias(
true);
9 for (
auto useCenter : {
false,
true } ) {
11 paint.setStyle(style);
12 for (
auto degrees : { 45, 90, 180, 360} ) {
REG_FIDDLE(Canvas_drawArc_a, 256, 256, 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)
@ kStroke_Style
set to stroke geometry
@ kFill_Style
set to fill geometry