|
TachyonUI 0.1.0
High-performance UI for building tools.
|
#include <gui_core/text/gui_text_system.h>
Public Member Functions | |
| constexpr int2 | MinSize () const |
| constexpr int2 | MaxSize () const |
| constexpr bool | IsEmpty () const |
Public Attributes | |
| int32_t | minWidth = 0 |
| min-content width: widest unbreakable run; maxWidth when it can't wrap | |
| int32_t | maxWidth = 0 |
| max-content width: the widest line without wrapping | |
| int32_t | minHeight = 0 |
| height of the text laid out at maxWidth | |
| int32_t | maxHeight = 0 |
| same as minHeight | |
Static Public Attributes | |
| static constexpr int32_t | kUnbounded = std::numeric_limits<int32_t>::max() |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
| int32_t tachyon::TextMeasurement::minWidth = 0 |
min-content width: widest unbreakable run; maxWidth when it can't wrap
| int32_t tachyon::TextMeasurement::maxWidth = 0 |
max-content width: the widest line without wrapping
| int32_t tachyon::TextMeasurement::minHeight = 0 |
height of the text laid out at maxWidth
| int32_t tachyon::TextMeasurement::maxHeight = 0 |
same as minHeight