|
libGumball 0.0.1
C23-Based, libGimbal-powered UI Library
|
Go to the source code of this file.
Macros | |
Type System | |
Type UUID and cast operators | |
| #define | GUM_FONT_TYPE |
| #define | GUM_FONT(self) |
| #define | GUM_FONT_CLASS(klass) |
| #define | GUM_FONT_CLASSOF(self) |
| #define | GUM_TEXT_ALIGNMENT_TYPE |
Enumerations | |
| enum | GUM_TextAlignment |
Functions | |
| GBL_EXPORT GUM_Vector2 | GUM_Font_measureText (GUM_Font *pFont, GblStringRef *pText, uint8_t fontSize) GBL_NOEXCEPT |
GUM_Font data structure and hierarchy graph
GUM_Font is the backend-agnostic font type used in libGumball
| #define GUM_FONT_TYPE |
Returns the GUM_Font Type UUID.
| #define GUM_FONT | ( | self | ) |
Casts an instance of a compatible element to a GUM_Font.
| #define GUM_FONT_CLASS | ( | klass | ) |
Casts an class of a compatible element to a GUM_Font.
| #define GUM_FONT_CLASSOF | ( | self | ) |
Casts an instance of a compatible element to a GUM_Font.
| #define GUM_TEXT_ALIGNMENT_TYPE |
Returns the GUM_TextAlignment Type UUID.
| enum GUM_TextAlignment |
| GBL_EXPORT GUM_Vector2 GUM_Font_measureText | ( | GUM_Font * | pFont, |
| GblStringRef * | pText, | ||
| uint8_t | fontSize ) |
Returns the size of the passed text, given the font and font size.