Flutter Engine
The Flutter Engine
|
#include <dl_bounds_accumulator.h>
Public Member Functions | |
void | accumulate (SkScalar x, SkScalar y) |
void | accumulate (const SkPoint &p) |
void | accumulate (const SkRect &r, int index) override |
bool | is_empty () const |
bool | is_not_empty () const |
void | save () override |
void | restore () override |
bool | restore (std::function< bool(const SkRect &, SkRect &)> mapper, const SkRect *clip) override |
SkRect | bounds () const override |
BoundsAccumulatorType | type () const override |
sk_sp< DlRTree > | rtree () const override |
Public Member Functions inherited from flutter::BoundsAccumulator | |
virtual | ~BoundsAccumulator ()=default |
virtual bool | restore (std::function< bool(const SkRect &original, SkRect &modified)> map, const SkRect *clip=nullptr)=0 |
Additional Inherited Members | |
Public Types inherited from flutter::BoundsAccumulator | |
typedef bool | BoundsModifier(const SkRect &original, SkRect *dest) |
Definition at line 92 of file dl_bounds_accumulator.h.
|
inline |
Definition at line 95 of file dl_bounds_accumulator.h.
Implements flutter::BoundsAccumulator.
Definition at line 9 of file dl_bounds_accumulator.cc.
Definition at line 94 of file dl_bounds_accumulator.h.
|
inlineoverridevirtual |
Implements flutter::BoundsAccumulator.
Definition at line 106 of file dl_bounds_accumulator.h.
|
inline |
Definition at line 98 of file dl_bounds_accumulator.h.
|
inline |
Definition at line 99 of file dl_bounds_accumulator.h.
|
overridevirtual |
Restore to the previous accumulation and incorporate the bounds of the primitives that were recorded since the last save (if needed).
Implements flutter::BoundsAccumulator.
Definition at line 20 of file dl_bounds_accumulator.cc.
|
override |
Definition at line 26 of file dl_bounds_accumulator.cc.
Implements flutter::BoundsAccumulator.
Definition at line 115 of file dl_bounds_accumulator.h.
|
overridevirtual |
Save aside the rects/bounds currently being accumulated and start accumulating a new set of rects/bounds. When restore is called, some additional modifications may be applied to these new bounds before they are accumulated back into the surrounding bounds.
Implements flutter::BoundsAccumulator.
Definition at line 16 of file dl_bounds_accumulator.cc.
|
inlineoverridevirtual |
Implements flutter::BoundsAccumulator.
Definition at line 111 of file dl_bounds_accumulator.h.