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

Microchip Technology Inc.

File Name

libaria_utils.h

Description

Module for Microchip Graphics Library - Aria User Interface Library

Functions
 
Name 
Description 
 
Calculates the position of a rectangle within the given bounds and in accordance with the given parameters. A use case for this is when an image and a text rectangle must be arranged in a button box. This version of the algorithm will calculate the location of the image rectangle. 
 
Calculates the position of a rectangle within the given bounds and in accordance with the given parameters. A use case for this is when an image and a text rectangle must be arranged in a button box. This version of the algorithm will calculate the location of the text rectangle. 
 
Performs an intersection test between a parent widget and a child widget 
 
Clips a widget to the all the parents of a widget 
 
Finds the root parent of a widget, which should be a layer 
 
Gets the next highest Z order widget in the tree from 'wgt' 
 
Performs an occlusion test on a list of widgets an a rectangular area. This attempts to find only the topmost widgets for the given area. If a widget is completely occluded then it is removed from the list. Any widgets that remain in the list should be redrawn by the rasterizer. 
 
Performs an occlusion test for a widget in the tree. A widget is occluded if it is completely covered by one or more widgets. This is useful for culling widgets before the rasterizing phase. 
 
Finds the top-most visible widget in the tree at the given coordinates. 
 
Finds the top-most visible widget in a layer at the given coordinates. 
 
Finds all of the visible widgets in the given rectangular area. 
 
Converts a point from layer space into the local space of a widget 
 
Converts a point from widget space into layer space 
 
Preprocesses an image to a specified memory address. 
 
Converts a rectangle from layer space to widget local space 
 
Converts a rectangle from widget parent space to widget local space 
 
Converts a rectangle from widget local space to layer space 
 
Converts a rectangle from widget local space to widget parent space. Widget must be a child of a layer for this to function. 
 
Converts a rectangle from widget local space to screen space 
 
Takes a point in screen space and returns a transformed version in mirrored space. 
 
Takes a point in screen space and returns a transformed version in oriented space. 
 
Returns LA_TRUE if the specified widget is occluded in the specified rectangle area. 
 
Returns the bounding rectangle of a widget in layer space 
 
Returns the bounding rectangle of a widget in local space 
Types
 
Name 
Description 
 
A two dimensional Cartesian point. 
 
A rectangle definition. 
 
Primary definition of a layer. Builds on base functions of a standard widget. Should never have a direct parent. 
 
Linked list definition 
MPLAB® Harmony Graphics Suite