Definition at line 19 of file RecordTest.cpp.
◆ AreaSummer()
AreaSummer::AreaSummer |
( |
| ) |
|
|
inline |
◆ apply()
void AreaSummer::apply |
( |
const SkRecord & |
record | ) |
|
|
inline |
Definition at line 31 of file RecordTest.cpp.
31 {
32 for (
int i = 0;
i < record.
count();
i++) {
34 }
35 }
auto visit(int i, F &&f) const -> decltype(f(SkRecords::NoOp()))
◆ area()
int AreaSummer::area |
( |
| ) |
const |
|
inline |
◆ operator()() [1/2]
void AreaSummer::operator() |
( |
const SkRecords::DrawRect & |
draw | ) |
|
|
inline |
Definition at line 25 of file RecordTest.cpp.
25 {
26 fArea += (
int)(
draw.rect.width() *
draw.rect.height());
27 }
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
◆ operator()() [2/2]
void AreaSummer::operator() |
( |
const T & |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: