natiny_font_get_size
float natiny_font_get_size(NatinyFont font);
Returns the logical font size requested at creation.
Parameters
| Name | Type | Description |
|---|---|---|
font |
NatinyFont |
Font handle from natiny_font_create |
Returns
| Type | Description |
|---|---|
float |
Font size in drawing units, or 0.0f for an invalid handle |
Example
float size = natiny_font_get_size(font);