Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
skgpu::graphite::SimpleIntersectionTree Class Reference

Public Member Functions

bool add (SkRect rect)
 

Detailed Description

Definition at line 14 of file IntersectionTreeTest.cpp.

Member Function Documentation

◆ add()

bool skgpu::graphite::SimpleIntersectionTree::add ( SkRect  rect)
inline

Definition at line 16 of file IntersectionTreeTest.cpp.

16 {
17 for (const SkRect& r : fRects) {
18 if (r.intersects(rect)) {
19 return false;
20 }
21 }
22 fRects.push_back(rect);
23 return true;
24 }
sk_sp< SkBlender > blender SkRect rect
Definition: SkRecords.h:350

The documentation for this class was generated from the following file: