Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
crbug_788500.cpp
Go to the documentation of this file.
1/*
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 "gm/gm.h"
12
13DEF_SIMPLE_GM(crbug_788500, canvas, 300, 300) {
14 SkPathBuilder path;
15 path.setFillType(SkPathFillType::kEvenOdd);
16 path.moveTo(0, 0);
17 path.moveTo(245.5f, 98.5f);
18 path.cubicTo(245.5f, 98.5f, 242, 78, 260, 75);
19
21 paint.setAntiAlias(true);
22 canvas->drawPath(path.detach(), paint);
23}
const Paint & paint
#define DEF_SIMPLE_GM(NAME, CANVAS, W, H)
Definition gm.h:50