blob: 99eb110aa1cd10f0d467a09b7efe0286774602c1 [file] [log] [blame]
Hal Canarydfaa0572017-11-27 09:33:44 -05001/*
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 */
Mike Kleinc0bd9f92019-04-23 12:05:21 -05007#include "gm/gm.h"
Hal Canarydfaa0572017-11-27 09:33:44 -05008// https://crbug.com/772953
9DEF_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}