MPLAB® Harmony Graphics Suite > Graphics Library > Legato Graphics Library > Legato Interface > c) Datastructure Functions > leRectArray_CropToArea Function
MPLAB® Harmony Graphics Suite
leRectArray_CropToArea Function
C
LIB_EXPORT leResult leRectArray_CropToArea(
    leRectArray* arr, 
    uint32_t width, 
    uint32_t height
);
Parameters
Parameters 
Description 
leRectArray* arr 
the array to modify 
uint32_t width 
the width to crop to 
uint32_t height 
the height to crop to 
Returns

leResult - the result of the operation

MPLAB® Harmony Graphics Suite