Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::view::Label::LineBreakPathCounts Struct Reference

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

Detailed Description

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.

Member Data Documentation

◆ cached

int pulp::view::Label::LineBreakPathCounts::cached = 0

captured layout used verbatim

◆ reflowed

int pulp::view::Label::LineBreakPathCounts::reflowed = 0

captured layout present but rejected

◆ uncached

int pulp::view::Label::LineBreakPathCounts::uncached = 0

no captured layout at all


The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/view/include/pulp/view/widgets.hpp