How many Labels took each line-breaking path since the last reset. More...
#include <widgets.hpp>
Public Attributes | |
| int | cached = 0 |
| captured layout used verbatim | |
| int | reflowed = 0 |
| captured layout present but rejected | |
| int | uncached = 0 |
| no captured layout at all | |
How many Labels took each line-breaking path since the last reset.
Three paths now decide where text breaks, and pixels cannot tell them apart: a captured layout used verbatim, a captured layout rejected and reflowed, and text that never had one. A render that looks wrong is a different bug in each case, so the counts are reported rather than inferred — and a cache that never activates and one that always does look identical without them.
| int pulp::view::Label::LineBreakPathCounts::cached = 0 |
captured layout used verbatim
| int pulp::view::Label::LineBreakPathCounts::reflowed = 0 |
captured layout present but rejected
| int pulp::view::Label::LineBreakPathCounts::uncached = 0 |
no captured layout at all