Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Functions
crbug_887103.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_887103, canvas, 520, 520)
 

Function Documentation

◆ DEF_SIMPLE_GM()

DEF_SIMPLE_GM ( crbug_887103  ,
canvas  ,
520  ,
520   
)

Definition at line 13 of file crbug_887103.cpp.

13 {
15
16 paint.setAntiAlias(true);
18
20 path.moveTo(510, 20);
21 path.lineTo(500, 20);
22 path.lineTo(510, 500);
23
24 path.moveTo(500, 20);
25 path.lineTo(510, 500);
26 path.lineTo(500, 510);
27
28 path.moveTo(500, 30);
29 path.lineTo(510, 10);
30 path.lineTo( 10, 30);
31 canvas->drawPath(path.detach(), paint);
32}
@ 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