#include <paint_region.h>
Definition at line 26 of file paint_region.h.
◆ PaintRegion() [1/2]
flutter::PaintRegion::PaintRegion |
( |
| ) |
|
|
default |
◆ PaintRegion() [2/2]
flutter::PaintRegion::PaintRegion |
( |
std::shared_ptr< std::vector< SkRect > > |
rects, |
|
|
size_t |
from, |
|
|
size_t |
to, |
|
|
bool |
has_readback, |
|
|
bool |
has_texture |
|
) |
| |
|
inline |
Definition at line 29 of file paint_region.h.
34 : rects_(std::move(rects)),
35 from_(from),
36 to_(to),
bool has_readback() const
◆ begin()
std::vector< SkRect >::const_iterator flutter::PaintRegion::begin |
( |
| ) |
const |
|
inline |
Definition at line 40 of file paint_region.h.
40 {
42 return rects_->begin() + from_;
43 }
#define FML_DCHECK(condition)
◆ ComputeBounds()
SkRect flutter::PaintRegion::ComputeBounds |
( |
| ) |
const |
Definition at line 9 of file paint_region.cc.
9 {
11 for (const auto& r : *this) {
13 }
14 return res;
15}
static constexpr SkRect MakeEmpty()
void join(const SkRect &r)
◆ end()
std::vector< SkRect >::const_iterator flutter::PaintRegion::end |
( |
| ) |
const |
|
inline |
Definition at line 45 of file paint_region.h.
45 {
47 return rects_->begin() + to_;
48 }
◆ has_readback()
bool flutter::PaintRegion::has_readback |
( |
| ) |
const |
|
inline |
◆ has_texture()
bool flutter::PaintRegion::has_texture |
( |
| ) |
const |
|
inline |
◆ is_valid()
bool flutter::PaintRegion::is_valid |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: