MPLAB® Harmony Graphics Suite > Graphics Library > Legato Graphics Library > Legato Interface > h) String Functions > leStringUtils_GetLineRectCStr Function
MPLAB® Harmony Graphics Suite
leStringUtils_GetLineRectCStr Function

Gets the line bounding rectangle for a C-style string

C
LIB_EXPORT leResult leStringUtils_GetLineRectCStr(
    const char* str, 
    const leFont* font, 
    uint32_t line, 
    leRect* rect
);
Parameters
Parameters 
Description 
const char* str 
the source C string 
const leFont* font 
the font to reference 
uint32_t line 
the line index to reference 
leRect* rect 
will contain the line bounding rectangle 
Returns

leResult - the result of the operation

MPLAB® Harmony Graphics Suite