Flutter Engine
The Flutter Engine
crbug_908646.cpp
Go to the documentation of this file.
1/*
2 * Copyright 2019 Google LLC
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_908646, canvas, 300, 300) {
15 paint.setAntiAlias(true);
17 path.setFillType(SkPathFillType::kEvenOdd);
18 path.moveTo(50, 50);
19 path.lineTo(50, 300);
20 path.lineTo(250, 300);
21 path.lineTo(250, 50);
22 path.moveTo(200, 100);
23 path.lineTo(100, 100);
24 path.lineTo(150, 200);
25 path.moveTo(100, 250);
26 path.lineTo(150, 150);
27 path.lineTo(200, 250);
28 canvas->drawPath(path.detach(), paint);
29}
const Paint & paint
Definition: color_source.cc:38
DEF_SIMPLE_GM(crbug_908646, canvas, 300, 300)
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path
Definition: switches.h:57