blob: 35b2e2c5b828fbce108f7739b75b1c5cd635dd55 [file] [log] [blame]
caryclarkba150cc2016-06-01 04:42:02 -07001/*
2 * Copyright 2016 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
Mike Kleinc0bd9f92019-04-23 12:05:21 -05008#include "gm/gm.h"
9#include "include/core/SkPath.h"
caryclarkba150cc2016-06-01 04:42:02 -070010
11DEF_SIMPLE_GM(bug615686, canvas, 250, 250) {
12 SkPaint p;
13 p.setAntiAlias(true);
14 p.setStyle(SkPaint::kStroke_Style);
15 p.setStrokeWidth(20);
16 SkPath path;
17 path.moveTo(0, 0);
18 path.cubicTo(200, 200, 0, 200, 200, 0);
19 canvas->drawPath(path, p);
20}