MPLAB® Harmony Graphics Suite > Graphics Library > Legato Graphics Library > Legato Interface > a) Common Functions > leRectContainsPoint Function
MPLAB® Harmony Graphics Suite
leRectContainsPoint Function
C
LIB_EXPORT leBool leRectContainsPoint(
    const leRect* rect, 
    const lePoint* point
);
Parameters
Parameters 
Description 
const leRect* rect 
the rectangle to test 
const lePoint* point 
the point to use for the test 
Returns

leBool - LE_TRUE if the point is inside the rectangle

MPLAB® Harmony Graphics Suite