Flutter Engine
The Flutter Engine
Functions
collapsepaths.cpp File Reference
#include "gm/gm.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkPathBuilder.h"

Go to the source code of this file.

Functions

 DEF_SIMPLE_GM (collapsepaths, canvas, 500, 600)
 

Function Documentation

◆ DEF_SIMPLE_GM()

DEF_SIMPLE_GM ( collapsepaths  ,
canvas  ,
500  ,
600   
)

Definition at line 146 of file collapsepaths.cpp.

146 {
148
149 paint.setAntiAlias(true);
150 paint.setStyle(SkPaint::kFill_Style);
151 test_collapse1(canvas, paint);
152 test_collapse2(canvas, paint);
153 test_collapse3(canvas, paint);
154 test_collapse4(canvas, paint);
155 test_collapse5(canvas, paint);
156 test_collapse6(canvas, paint);
157 test_collapse7(canvas, paint);
158 test_collapse8(canvas, paint);
159 test_collapse9(canvas, paint);
160 test_collapse10(canvas, paint);
161}
@ kFill_Style
set to fill geometry
Definition: SkPaint.h:193
const Paint & paint
Definition: color_source.cc:38