blob: 409fb9aa9fb79532647bc7e5b3e63a9f2ce07edb [file] [log] [blame]
Stephen Whitecfe12642018-09-26 17:25:59 -04001/*
2 * Copyright 2018 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
8#include "gm.h"
9#include "SkCanvas.h"
10#include "SkPath.h"
11
12DEF_SIMPLE_GM(crbug_884166, canvas, 300, 300) {
13 SkPaint paint;
14
15 paint.setAntiAlias(true);
16 paint.setStyle(SkPaint::kFill_Style);
17
18 SkPath path;
19 path.moveTo(153.25, 280.75);
20 path.lineTo(161.75, 281.75);
21 path.lineTo(164.25, 282.00);
22 path.lineTo( 0.00, 276.00);
23 path.lineTo(161.50, 0.00);
24 path.lineTo(286.25, 231.25);
25 path.lineTo(163.75, 282.00);
26 path.lineTo(150.00, 280.00);
27 canvas->drawPath(path, paint);
28}