One contiguous span of text that shares a single bidi embedding level.
More...
#include <bidi.hpp>
|
| constexpr bool | is_rtl () const noexcept |
| constexpr std::uint32_t | end () const noexcept |
|
| std::uint32_t | start = 0 |
| std::uint32_t | length = 0 |
| std::uint8_t | level = 0 |
| | 0 = LTR; odd levels (1, 3, …) = RTL.
|
One contiguous span of text that shares a single bidi embedding level.
start + length are byte offsets / byte lengths into the input UTF-8. Runs returned by analyze() are in logical order; runs returned by visual_order() are in visual (paint) order.
◆ end()
| std::uint32_t pulp::canvas::BidiRun::end |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ is_rtl()
| bool pulp::canvas::BidiRun::is_rtl |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ length
| std::uint32_t pulp::canvas::BidiRun::length = 0 |
◆ level
| std::uint8_t pulp::canvas::BidiRun::level = 0 |
0 = LTR; odd levels (1, 3, …) = RTL.
◆ start
| std::uint32_t pulp::canvas::BidiRun::start = 0 |
The documentation for this struct was generated from the following file:
- /home/runner/work/pulp/pulp/core/canvas/include/pulp/canvas/bidi.hpp