blob: ba146737011918937c33b1fcd62ccd430a80d605 [file] [log] [blame]
Brian Salomon29f9ed42017-11-29 10:52:00 -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
8#include "SkCanvas.h"
9#include "SkPaint.h"
10#include "SkPath.h"
11#include "gm.h"
12
13DEF_SIMPLE_GM(crbug_788500, canvas, 300, 300) {
14 SkPath path;
15 path.setFillType(SkPath::kEvenOdd_FillType);
16 path.moveTo(0, 0);
17 path.moveTo(245.5f, 98.5f);
18 path.cubicTo(245.5f, 98.5f, 242, 78, 260, 75);
19
20 SkPaint paint;
21 paint.setAntiAlias(true);
22 canvas->drawPath(path, paint);
23}