|
|
constexpr | font_char_map (font_char_map const &) noexcept=default |
| |
|
constexpr | font_char_map (font_char_map &&) noexcept=default |
| |
|
constexpr font_char_map & | operator= (font_char_map const &) noexcept=default |
| |
|
constexpr font_char_map & | operator= (font_char_map &&) noexcept=default |
| |
|
constexpr bool | empty () const noexcept |
| |
| constexpr void | reserve (size_t n) |
| | Reserve space for a set of ranges to be added.
|
| |
| constexpr void | add (char32_t start_code_point, char32_t end_code_point, uint16_t start_glyph) noexcept |
| | Add a range of code points.
|
| |
| void | prepare () noexcept |
| | Prepare the map for searching.
|
| |
| glyph_id | find (char32_t code_point) const noexcept |
| | Find a glyph for a code_point.
|
| |
|
unicode_mask | make_mask () const noexcept |
| |
Character map of a font.
This type serves the check if a code-point is supported by a font (even when the font is unloaded), and to retrieve the glyph mapped to the code-point.