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

Go to the source code of this file.

Functions

 DEF_SIMPLE_GM (concavepaths, canvas, 500, 600)
 

Function Documentation

◆ DEF_SIMPLE_GM()

DEF_SIMPLE_GM ( concavepaths  ,
canvas  ,
500  ,
600   
)

Definition at line 366 of file concavepaths.cpp.

366 {
368
369 paint.setAntiAlias(true);
370 paint.setStyle(SkPaint::kFill_Style);
371
372 test_concave(canvas, paint);
373 test_reverse_concave(canvas, paint);
374 test_bowtie(canvas, paint);
375 test_fake_bowtie(canvas, paint);
376 test_intruding_vertex(canvas, paint);
377 test_fish(canvas, paint);
378 test_fast_forward(canvas, paint);
379 test_hole(canvas, paint);
380 test_star(canvas, paint);
381 test_twist(canvas, paint);
382 test_inversion_repeat_vertex(canvas, paint);
383 test_stairstep(canvas, paint);
384 test_stairstep2(canvas, paint);
385 test_overlapping(canvas, paint);
386 test_partners(canvas, paint);
387 test_winding_merged_to_zero(canvas, paint);
388 test_monotone_1(canvas, paint);
389 test_monotone_2(canvas, paint);
390 test_monotone_3(canvas, paint);
391 test_monotone_4(canvas, paint);
392 test_monotone_5(canvas, paint);
393 test_degenerate(canvas, paint);
394 test_coincident_edge(canvas, paint);
395 test_bowtie_coincident_triangle(canvas, paint);
396 test_collinear_outer_boundary_edge(canvas, paint);
397 test_coincident_edges_1(canvas, paint);
398 test_coincident_edges_2(canvas, paint);
399 test_coincident_edges_3(canvas, paint);
400 test_coincident_edges_4(canvas, paint);
401}
@ kFill_Style
set to fill geometry
Definition SkPaint.h:193
const Paint & paint