|
HikoGUI
A low latency retained GUI
|
#include <TTauri/Text/UnicodeRanges.hpp>
Public Member Functions | |
| UnicodeRanges (char32_t c) noexcept | |
| UnicodeRanges (Grapheme g) noexcept | |
| operator bool () const noexcept | |
| void | add (char32_t c) noexcept |
| Add code point to unicode-ranges. | |
| void | add (char32_t first, char32_t last) noexcept |
| Add code points to unicode-ranges. | |
| bool | contains (char32_t c) const noexcept |
| Check if the code point is present in the unicode-ranges. | |
| bool | contains (Grapheme g) const noexcept |
| void | set_bit (int i) noexcept |
| bool | get_bit (int i) const noexcept |
| int | popcount () const noexcept |
| UnicodeRanges & | operator|= (UnicodeRanges const &rhs) noexcept |
Data Fields | |
| uint32_t | value [4] |
Friends | |
| std::string | to_string (UnicodeRanges const &rhs) noexcept |
| bool | operator>= (UnicodeRanges const &lhs, UnicodeRanges const &rhs) noexcept |
| The lhs has at least all bits on the rhs set. | |
| UnicodeRanges | operator| (UnicodeRanges const &lhs, UnicodeRanges const &rhs) noexcept |
| std::ostream & | operator<< (std::ostream &lhs, UnicodeRanges const &rhs) |
Unicode Ranges based on the OS/2 table in TrueType fonts.
|
noexcept |
Add code point to unicode-ranges.
|
noexcept |
Add code points to unicode-ranges.
| first | First code point. |
| last | One beyond the last code point. |
|
noexcept |
Check if the code point is present in the unicode-ranges.
|
friend |
The lhs has at least all bits on the rhs set.