MPLAB® Harmony Graphics Suite
|
Gets the glyph at a point inside a leChar string bounding rectangle
LIB_EXPORT leResult leStringUtils_GetCharIndexAtPoint( const leChar* str, uint32_t size, const leFont* font, const lePoint pt, uint32_t* charIdx );
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 |
const lePoint pt |
the point to query with |
uint32_t* charIdx |
will contain the index of the char at pt |
leResult - the result of the operation
MPLAB® Harmony Graphics Suite
|