HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Member Functions | Data Fields | Static Public Attributes | Friends
tt::text_style Struct Reference

Public Member Functions

 text_style (tt::font_family_id family_id, tt::font_variant variant, float size, tt::color color, text_decoration decoration) noexcept
 
 text_style (std::string_view family_name, tt::font_variant variant, float size, tt::color color, text_decoration decoration) noexcept
 
 text_style (text_style const &) noexcept=default
 
 text_style (text_style &&) noexcept=default
 
text_styleoperator= (text_style const &) noexcept=default
 
text_styleoperator= (text_style &&) noexcept=default
 
float scaled_size () const noexcept
 

Data Fields

font_family_id family_id
 
font_variant variant
 
float size
 
color color
 
text_decoration 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 (text_style const &rhs) noexcept
 
std::ostreamoperator<< (std::ostream &lhs, text_style const &rhs)
 

The documentation for this struct was generated from the following file: