Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
crbug_884166.cpp
Go to the documentation of this file.
1/*
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/gm.h"
12
13DEF_SIMPLE_GM(crbug_884166, canvas, 300, 300) {
15
16 paint.setAntiAlias(true);
18
19 SkPathBuilder path;
20 path.moveTo(153.25, 280.75);
21 path.lineTo(161.75, 281.75);
22 path.lineTo(164.25, 282.00);
23 path.lineTo( 0.00, 276.00);
24 path.lineTo(161.50, 0.00);
25 path.lineTo(286.25, 231.25);
26 path.lineTo(163.75, 282.00);
27 path.lineTo(150.00, 280.00);
28 canvas->drawPath(path.detach(), paint);
29}
@ kFill_Style
set to fill geometry
Definition SkPaint.h:193
const Paint & paint
#define DEF_SIMPLE_GM(NAME, CANVAS, W, H)
Definition gm.h:50