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

Gets the bounding rectangle for a C-style string

C
LIB_EXPORT leResult leStringUtils_GetRectCStr(
    const char* str, 
    const leFont* font, 
    leRect* rect
);
Parameters
Parameters 
Description 
const char* str 
the c string to analyze 
const leFont* font 
the font to reference 
leRect* rect 
will contain the bounding information 
Returns

leResult - the result of the operation

MPLAB® Harmony Graphics Suite