Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Functions
crbug_884166.cpp File Reference
#include "gm/gm.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkPaint.h"
#include "include/core/SkPathBuilder.h"

Go to the source code of this file.

Functions

 DEF_SIMPLE_GM (crbug_884166, canvas, 300, 300)
 

Function Documentation

◆ DEF_SIMPLE_GM()

DEF_SIMPLE_GM ( crbug_884166  ,
canvas  ,
300  ,
300   
)

Definition at line 13 of file crbug_884166.cpp.

13 {
15
16 paint.setAntiAlias(true);
18
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
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