MPLAB® Harmony Graphics Suite
|
Gets the glyph at a point inside a C-style string bounding rectangle
LIB_EXPORT leResult leStringUtils_GetCharIndexAtPointCStr( const char* str, const leFont* font, const lePoint pt, uint32_t* charIdx );
Parameters |
Description |
const char* str |
the source C string |
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
|