|
HikoGUI
A low latency retained GUI
|
Public Member Functions | |
| TextStyle (tt::FontFamilyID family_id, tt::FontVariant variant, float size, vec color, TextDecoration decoration) noexcept | |
| TextStyle (std::string_view family_name, tt::FontVariant variant, float size, vec color, TextDecoration decoration) noexcept | |
| TextStyle (TextStyle const &) noexcept=default | |
| TextStyle (TextStyle &&) noexcept=default | |
| TextStyle & | operator= (TextStyle const &) noexcept=default |
| TextStyle & | operator= (TextStyle &&) noexcept=default |
| float | scaled_size () const noexcept |
Data Fields | |
| FontFamilyID | family_id |
| FontVariant | variant |
| float | size |
| vec | color |
| TextDecoration | decoration |
Static Public Attributes | |
| static constexpr float | default_dpi = 84.0f |
| static constexpr float | dpi_scale = default_dpi / 72.0f |
Friends | |
| std::string | to_string (TextStyle const &rhs) noexcept |
| std::ostream & | operator<< (std::ostream &lhs, TextStyle const &rhs) |