MPLAB® Harmony Graphics Suite > Graphics Library > Aria Graphics Library > Aria Hardware Abstraction Layer (HAL) > Library Interface > a) Functions > GFX_RectContainsPoint Function
MPLAB® Harmony Graphics Suite
GFX_RectContainsPoint Function
C
LIB_EXPORT GFX_Bool GFX_RectContainsPoint(
    const GFX_Rect* rect, 
    const GFX_Point* point
);
Parameters
Parameters 
Description 
const GFX_Rect* rect 
the rectangle to test 
const GFX_Point* point 
the point to use for the test 
Returns

GFX_Bool - GFX_TRUE if the point is inside the rectangle

MPLAB® Harmony Graphics Suite