MPLAB® Harmony Graphics Suite > Graphics Library > Aria Graphics Library > Files > libaria_rectarray.h
MPLAB® Harmony Graphics Suite
libaria_rectarray.h

Microchip Technology Inc.

File Name

libaria_rectarray.h

Description

Module for Microchip Graphics Library - Aria User Interface Library 

This is an array implementation that is used internally by the Aria user interface library. All of the memory operations are handled by the memory interface that is provided by the active libaria context. Applications that wish to use this implementation must ensure that the appropriate libaria context is active when calling these functions.

Functions
 
Name 
Description 
 
Removes all values from a given array. Array capacity remains the same. 
 
Creates a duplicate of an existing array 
 
Initializes a new rectangle array. 
 
Removes all nodes from a given array and frees the memory owned by the array. Resets array capacity to zero. 
 
Inserts a rectangle into an array at a given index. All existing nodes from index are shifted right one place. 
 
Analyzes an array and merges any rectangles similar in size. 
 
Removes the last rectangle from the array 
 
Removes the first value from the array. Shuffles all other nodes forward one index. 
 
Pushes a new rectangle onto the back of the array 
 
Pushes a new rectangle onto the front of the array. Shuffles all other nodes backward one index. 
 
Removes a rectangle from the array at an index 
 
Removes any duplicate rectangles from an array. 
 
Sorts the array by size and then removes any rectangles that are completely overlapped by another larger rectangle. 
 
Resizes the capacity of the array. If the array shrinks, any nodes beyond the new capacity will be discarded. 
 
Sorts a given array largest to smallest. 
Structures
 
Name 
Description 
 
Rectangle array definition 
MPLAB® Harmony Graphics Suite