blob: b76cb0747b8328198c6afb691e059f898024f00b [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"
Ben Wagner6a34f3a2019-05-01 10:59:30 -04009#include "include/core/SkCanvas.h"
10#include "include/core/SkPaint.h"
Mike Reede9d783c2020-08-17 14:14:13 -040011#include "include/core/SkPathBuilder.h"
caryclarkba150cc2016-06-01 04:42:02 -070012
13DEF_SIMPLE_GM(bug615686, canvas, 250, 250) {
14 SkPaint p;
15 p.setAntiAlias(true);
16 p.setStyle(SkPaint::kStroke_Style);
17 p.setStrokeWidth(20);
Mike Reede9d783c2020-08-17 14:14:13 -040018 canvas->drawPath(SkPathBuilder().moveTo(0, 0)
19 .cubicTo(200, 200, 0, 200, 200, 0)
20 .detach(), p);
caryclarkba150cc2016-06-01 04:42:02 -070021}