|
| enum class | v1::unicode_line_break_class : uint8_t {
BK
, CR
, LF
, CM
,
NL
, SG
, WJ
, ZW
,
GL
, SP
, ZWJ
, B2
,
BA
, BB
, HY
, CB
,
CL
, CP
, EX
, IN
,
NS
, OP
, QU
, IS
,
NU
, PO
, PR
, SY
,
AI
, AL
, CJ
, EB
,
EM
, H2
, H3
, HL
,
ID
, JL
, L
, JV
,
V
, JT
, T
, RI
,
SA
, XX
} |
| | Unicode line break class. More...
|
| |
|
|
template<typename It , typename ItEnd , typename DescriptionFunc > |
| constexpr std::vector< unicode_line_break_info > | v1::detail::unicode_LB1 (It first, ItEnd last, DescriptionFunc const &description_func) noexcept |
| |
|
constexpr void | v1::detail::unicode_LB2_3 (unicode_break_vector &opportunities) noexcept |
| |
|
template<typename MatchFunc > |
| constexpr void | v1::detail::unicode_LB_walk (unicode_break_vector &opportunities, std::vector< unicode_line_break_info > const &infos, MatchFunc match_func) noexcept |
| |
|
constexpr void | v1::detail::unicode_LB4_8a (unicode_break_vector &opportunities, std::vector< unicode_line_break_info > const &infos) noexcept |
| |
|
constexpr void | v1::detail::unicode_LB9 (unicode_break_vector &opportunities, std::vector< unicode_line_break_info > &infos) noexcept |
| |
|
constexpr void | v1::detail::unicode_LB10 (std::vector< unicode_line_break_info > &infos) noexcept |
| |
|
constexpr void | v1::detail::unicode_LB11_31 (unicode_break_vector &opportunities, std::vector< unicode_line_break_info > const &infos) noexcept |
| |
| constexpr float | v1::detail::unicode_LB_width (std::vector< float >::const_iterator first, std::vector< float >::const_iterator last) noexcept |
| | Calculate the width of a line.
|
| |
| constexpr float | v1::detail::unicode_LB_width (std::vector< float > const &widths, std::vector< size_t > const &lengths) |
| | Get the width of the entire text.
|
| |
| constexpr bool | v1::detail::unicode_LB_width_check (std::vector< float > const &widths, std::vector< size_t > const &lengths, float maximum_line_width) noexcept |
| | Check if all the lines in the text fit the maximum width.
|
| |
| constexpr std::vector< size_t > | v1::detail::unicode_LB_mandatory_lines (unicode_break_vector const &opportunities) noexcept |
| | Get the length of each line when broken with mandatory breaks.
|
| |
| constexpr std::vector< size_t > | v1::detail::unicode_LB_optional_lines (unicode_break_vector const &opportunities) noexcept |
| | Get the length of each line when broken with mandatory and optional breaks.
|
| |
|
constexpr unicode_break_const_iterator | v1::detail::unicode_LB_fast_fit_line (unicode_break_const_iterator opportunity_it, std::vector< float >::const_iterator width_it, float maximum_line_width) noexcept |
| |
|
constexpr unicode_break_const_iterator | v1::detail::unicode_LB_slow_fit_line (unicode_break_const_iterator first, unicode_break_const_iterator end_of_line, std::vector< float >::const_iterator first_width, float maximum_line_width) noexcept |
| |
|
constexpr unicode_break_const_iterator | v1::detail::unicode_LB_finish_fit_line (unicode_break_const_iterator first, unicode_break_const_iterator end_of_line) noexcept |
| |
| constexpr std::vector< size_t > | v1::detail::unicode_LB_fit_lines (unicode_break_vector const &opportunities, std::vector< float > const &widths, float maximum_line_width) noexcept |
| | Get the length of each line when broken after folding text to a maximum width.
|
| |
| constexpr std::pair< float, std::vector< size_t > > | v1::detail::unicode_LB_maximum_width (unicode_break_vector const &opportunities, std::vector< float > const &char_widths) |
| | Get the maximum width of the text.
|
| |
| constexpr std::pair< float, std::vector< size_t > > | v1::detail::unicode_LB_minimum_width (unicode_break_vector const &opportunities, std::vector< float > const &char_widths) |
| | Get the minimum width of the text.
|
| |
| constexpr std::pair< float, std::vector< size_t > > | v1::detail::unicode_LB_width (unicode_break_vector const &opportunities, std::vector< float > const &char_widths, float maximum_line_width) |
| | Get the width of the text at a maximum width.
|
| |
| template<typename It , typename ItEnd , typename DescriptionFunc > |
| unicode_break_vector | v1::unicode_line_break (It first, ItEnd last, DescriptionFunc const &description_func) noexcept |
| | The unicode line break algorithm UAX #14.
|
| |
| constexpr std::vector< size_t > | v1::unicode_line_break (unicode_break_vector const &opportunities, std::vector< float > const &widths, float maximum_line_width) |
| | Unicode break lines.
|
| |