blob: 8ed95dd0ed0feba6100bea2696f90f12f073c601 [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 */
7#include "gm.h"
8// 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}