1 /*
2  * Copyright 2017 Google Inc.
3  *
4  * Use of this source code is governed by a BSD-style license that can be
5  * found in the LICENSE file.
6  */
7 #include "gm.h"
8 // https://crbug.com/772953
9 DEF_SIMPLE_GM(circle_sizes, canvas, 128, 128) {
10     SkPaint p;
11     p.setAntiAlias(true);
12     for (int i = 0; i < 16; ++i) {
13         canvas->drawCircle({14.0f + 32.0f * (i % 4),
14                             14.0f + 32.0f * (i / 4)}, i + 1.0f, p);
15     }
16 }
17