Line-break opportunity used by the line layout step. More...
#include <shaped_text.hpp>
Public Types | |
| enum class | Kind : std::uint8_t { Soft , Hard } |
Public Attributes | |
| std::uint32_t | utf8_offset = 0 |
| enum pulp::canvas::LineBreakOpportunity::Kind | kind = Kind::Soft |
Line-break opportunity used by the line layout step.
The planner currently emits hard-newline and whitespace break opportunities; a future ICU BreakIterator path can add locale-aware dictionary breaks without changing this data shape.
|
strong |
| enum pulp::canvas::LineBreakOpportunity::Kind pulp::canvas::LineBreakOpportunity::kind = Kind::Soft |
| std::uint32_t pulp::canvas::LineBreakOpportunity::utf8_offset = 0 |