|
TM STM32Fxxx HAL Libraries
v1.0.0
Libraries for STM32Fxxx (F0, F4 and F7 series) devices based on HAL drivers from ST from Tilen Majerle
|
Library functions. More...
Functions | |
| char * | TM_FONT_GetStringSize (char *str, TM_FONT_SIZE_t *SizeStruct, TM_FONT_t *Font) |
| Calculates string length and height in units of pixels depending on string and font used. More... | |
Library functions.
| char* TM_FONT_GetStringSize | ( | char * | str, |
| TM_FONT_SIZE_t * | SizeStruct, | ||
| TM_FONT_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 |