MPLAB® Harmony Graphics Suite
|
Gets a glyph bounding rectangle for a C-style string
LIB_EXPORT leResult leStringUtils_GetCharRectCStr( const char* str, const leFont* font, uint32_t charIdx, leRect* rect );
Parameters |
Description |
const char* str |
the source C string |
const leFont* font |
the font to reference |
uint32_t charIdx |
the char index to reference |
leRect* rect |
will contain the glyph bounding rectangle |
leResult - the result of the operation
MPLAB® Harmony Graphics Suite
|