MPLAB® Harmony Graphics Suite > Graphics Library > Aria Graphics Library > Aria Hardware Abstraction Layer (HAL) > Library Interface > a) Functions > GFX_RectClipAdj Function
MPLAB® Harmony Graphics Suite
GFX_RectClipAdj Function
C
LIB_EXPORT GFX_Rect GFX_RectClipAdj(
    const GFX_Rect* l_rect, 
    const GFX_Rect* r_rect, 
    GFX_Rect* adj
);
Parameters
Parameters 
Description 
const GFX_Rect* l_rect 
the subject rectangle 
const GFX_Rect* r_rect 
the object rectangle 
GFX_Rect* adj 
the adjust rectangle 
Returns

void

Remarks

result will equals l_rect if the rectangles aren't intersecting

MPLAB® Harmony Graphics Suite