#include <dl_accumulation_rect.h>
Public Member Functions | |
| AccumulationRect () | |
| void | accumulate (DlScalar x, DlScalar y) |
| void | accumulate (DlPoint p) |
| void | accumulate (DlRect r) |
| void | accumulate (AccumulationRect &ar) |
| bool | is_empty () const |
| bool | is_not_empty () const |
| DlRect | GetBounds () const |
| void | reset () |
| bool | overlap_detected () const |
| void | record_overlapping_bounds () |
Definition at line 21 of file dl_accumulation_rect.h.
|
inline |
| void flutter::AccumulationRect::accumulate | ( | AccumulationRect & | ar | ) |
Definition at line 53 of file dl_accumulation_rect.cc.
References is_empty(), and record_overlapping_bounds().
|
inline |
Definition at line 26 of file dl_accumulation_rect.h.
References accumulate(), impeller::TPoint< T >::x, and impeller::TPoint< T >::y.
Referenced by accumulate().
| void flutter::AccumulationRect::accumulate | ( | DlRect | r | ) |
Definition at line 31 of file dl_accumulation_rect.cc.
References impeller::TRect< T >::GetBottom(), impeller::TRect< T >::GetLeft(), impeller::TRect< T >::GetRight(), impeller::TRect< T >::GetTop(), impeller::TRect< T >::IsEmpty(), and record_overlapping_bounds().
Definition at line 9 of file dl_accumulation_rect.cc.
References record_overlapping_bounds(), x, and y.
Referenced by flutter::compute_bounds(), flutter::testing::TEST(), flutter::testing::TEST(), flutter::testing::TEST(), flutter::testing::TEST(), and flutter::testing::TEST().
| DlRect flutter::AccumulationRect::GetBounds | ( | ) | const |
Definition at line 75 of file dl_accumulation_rect.cc.
References impeller::TRect< Scalar >::MakeLTRB().
Referenced by flutter::compute_bounds(), flutter::testing::TEST(), flutter::testing::TEST(), flutter::testing::TEST(), flutter::testing::TEST(), flutter::testing::TEST(), and flutter::testing::TEST().
|
inline |
Definition at line 30 of file dl_accumulation_rect.h.
Referenced by accumulate(), flutter::testing::TEST(), flutter::testing::TEST(), flutter::testing::TEST(), flutter::testing::TEST(), flutter::testing::TEST(), and flutter::testing::TEST().
|
inline |
Definition at line 31 of file dl_accumulation_rect.h.
|
inline |
Definition at line 37 of file dl_accumulation_rect.h.
Referenced by flutter::testing::TEST(), flutter::testing::TEST(), flutter::testing::TEST(), flutter::testing::TEST(), flutter::testing::TEST(), and flutter::testing::TEST().
|
inline |
Definition at line 38 of file dl_accumulation_rect.h.
Referenced by accumulate(), accumulate(), and accumulate().
| void flutter::AccumulationRect::reset | ( | ) |
Definition at line 81 of file dl_accumulation_rect.cc.
Referenced by AccumulationRect().