MPLAB® Harmony Graphics Suite > Graphics Library > Aria Graphics Library > Aria Hardware Abstraction Layer (HAL) > Files > gfx_rect.h
MPLAB® Harmony Graphics Suite
gfx_rect.h

Microchip Technology Inc.

File Name

gfx_rect.h

Description

Module for Microchip Graphics Library - Hardware Abstraction Layer 

Rectangle management functions.

Functions
 
Name 
Description 
 
Clips a rectangle to the space of another rectangle. The result rectangle is a rectangle that will fit inside both of the given rectangles. 
 
Returns the rectangle clipped using r_rect, and also adjusts the third rectangle 
 
Combines the area of two rectangles into a single rectangle. 
 
Returns 1 if the two rectangles have the same position and dimensions 
 
Determines if a point is inside a rectangle. 
 
Determines if a rectangle is completely inside another rectangle. Still returns true if the edges are touching. 
 
Returns a GFX_Rect structure based on 2 points 
 
Determines if two rectangles are intersecting 
 
Returns GFX_TRUE if the two rectangles are adjacent and vertically or horizontally aligned 
 
Splits two overlapping rectangles into several (up to 4) non-overlapping rectangles 
 
Returns the points for the upper left and lower right vertices of a rectangle 
MPLAB® Harmony Graphics Suite