MPLAB® Harmony Graphics Suite
|
Gets a glyph bounding rectangle for a leChar style string
LIB_EXPORT leResult leStringUtils_GetCharRect( const leChar* str, uint32_t size, const leFont* font, uint32_t charIdx, leRect* rect );
Parameters |
Description |
const leChar* str |
the source leChar string |
uint32_t size |
the size of the input buffer in code points |
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
|