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

Microchip Technology Inc.

File Name

gfx_layer.h

Description

Module for Microchip Graphics Library - Hardware Abstraction Layer 

Layer and buffer management.

Functions
 
Name 
Description 
 
Transforms a layer oriented space to screen space. 
 
Transforms a point from oriented space to screen space given a layer, a display orientation, and a mirroring setting. 
 
Transforms a point from screen space to oriented space given a layer, a display orientation, and a mirroring setting. 
 
Gets the pointer to the layer's current read pixel buffer. 
 
Transforms a layer point from oriented space to screen space given a layer, a display orientation, and a mirroring setting. 
 
Transforms a rectangle from screen space to oriented space given a layer, a display orientation, and a mirroring setting. 
 
Swaps the width and height dimensions of a layer. Can be used for run-time display orientation 
 
Performs a swap operation on the given layer. This advances the pointers of layer's buffer chain. The current write buffer becomes the new read buffer and a new buffer is chosen as the new write buffer. Has no effect in single buffer environments. 
 
Transforms a layer from screen space to oriented space. 
 
Gets the pointer to the layer's current write pixel buffer. 
Structures
 
Name 
Description 
 
A frame buffer is a wrapper around a pixel buffer construct that is used by display drivers to manage frame buffers. 
 
Layers describe basic display drawing areas and are meant to map directly to graphics controller hardware layers. 
 
A frame buffer is a wrapper around a pixel buffer construct that is used by display drivers to manage frame buffers. 
 
Layers describe basic display drawing areas and are meant to map directly to graphics controller hardware layers. 
MPLAB® Harmony Graphics Suite