1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
| /*
| * Copyright 2017 Google Inc.
| *
| * Use of this source code is governed by a BSD-style license that can be
| * found in the LICENSE file.
| */
|
| #include "SkCanvas.h"
| #include "SkPaint.h"
| #include "SkPath.h"
| #include "gm.h"
|
| DEF_SIMPLE_GM(crbug_788500, canvas, 300, 300) {
| SkPath path;
| path.setFillType(SkPath::kEvenOdd_FillType);
| path.moveTo(0, 0);
| path.moveTo(245.5f, 98.5f);
| path.cubicTo(245.5f, 98.5f, 242, 78, 260, 75);
|
| SkPaint paint;
| paint.setAntiAlias(true);
| canvas->drawPath(path, paint);
| }
|
|