|
TM STM32F4xx Libraries
v1.0.0
Libraries for STM32F4xx devices from Tilen Majerle
|
Library functions. More...
Functions | |
| char * | TM_FONTS_GetStringSize (char *str, TM_FONTS_SIZE_t *SizeStruct, TM_FontDef_t *Font) |
| Calculates string length and height in units of pixels depending on string and font used. More... | |
Library functions.
| char* TM_FONTS_GetStringSize | ( | char * | str, |
| TM_FONTS_SIZE_t * | SizeStruct, | ||
| TM_FontDef_t * | Font | ||
| ) |
Calculates string length and height in units of pixels depending on string and font used.
| *str | String to be checked for length and height |
| *SizeStruct | Pointer to empty TM_FONTS_SIZE_t structure where informations will be saved |
| *Font | Pointer to TM_FontDef_t font used for calculations |
| Pointer | to string used for length and height |