blob: f7aa67a1357f31d9bd2349347215596e92b6b45c [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 */
Ben Wagner7fde8e12019-05-01 17:28:53 -04007
Mike Kleinc0bd9f92019-04-23 12:05:21 -05008#include "gm/gm.h"
Ben Wagner7fde8e12019-05-01 17:28:53 -04009#include "include/core/SkCanvas.h"
10#include "include/core/SkPaint.h"
11
Hal Canarydfaa0572017-11-27 09:33:44 -050012// https://crbug.com/772953
13DEF_SIMPLE_GM(circle_sizes, canvas, 128, 128) {
14 SkPaint p;
15 p.setAntiAlias(true);
16 for (int i = 0; i < 16; ++i) {
17 canvas->drawCircle({14.0f + 32.0f * (i % 4),
18 14.0f + 32.0f * (i / 4)}, i + 1.0f, p);
19 }
20}