Font Struct Reference¶
|
API
|
cFigure::Font Struct Reference
Public Attributes | |
Font attributes. | |
| std::string | typeface |
| Typeface of the font. An empty string means the default font. | |
| int | pointSize = 0 |
| Font size in points. A zero or negative value means the default size. | |
| uint8_t | style = FONT_NONE |
| Font style. Binary OR of FontStyle constants such as FONT_BOLD. | |
Description
Represents properties of a font.
Member Data Documentation
◆ typeface
| std::string typeface |
Typeface of the font. An empty string means the default font.
◆ pointSize
| int pointSize = 0 |
Font size in points. A zero or negative value means the default size.
◆ style
Generated on for API by