|
guillaume 2026.6.1
A C++ UI framework designed for modern desktop and extended reality (XR) applications.
|
One text style: everything needed to measure and draw a piece of text. More...
#include <headers/guillaume/theme/typescale.hpp>
Public Attributes | |
| std::string | fontFamily { "Roboto" } |
| Font family name. | |
| FontWeight | fontWeight { FontWeight::Regular } |
| Font weight. | |
| float | fontSize { 14.0f } |
| Font size, in dp. | |
| float | lineHeight |
| Distance between two baselines, in dp. | |
| float | letterSpacing |
| Extra space between characters, in dp. | |
One text style: everything needed to measure and draw a piece of text.
The default-constructed token is the Default role: Roboto regular, 14 dp on a 20 dp line.
Definition at line 83 of file typescale.hpp.
| std::string guillaume::theme::TypeToken::fontFamily { "Roboto" } |
Font family name.
Definition at line 84 of file typescale.hpp.
| float guillaume::theme::TypeToken::fontSize { 14.0f } |
Font size, in dp.
Definition at line 86 of file typescale.hpp.
| FontWeight guillaume::theme::TypeToken::fontWeight { FontWeight::Regular } |
Font weight.
Definition at line 85 of file typescale.hpp.
| float guillaume::theme::TypeToken::letterSpacing |
Extra space between characters, in dp.
Definition at line 90 of file typescale.hpp.
| float guillaume::theme::TypeToken::lineHeight |
Distance between two baselines, in dp.
Definition at line 87 of file typescale.hpp.