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

Microchip Technology Inc.

File Name

gfx_color.h

Description

Module for Microchip Graphics Library - Hardware Abstraction Layer 

Color conversion and color channel management

Enumerations
 
Name 
Description 
 
List of available bits-per-pixel sizes. 
 
Maskable list of color valies. 
 
List of available color modes. 
 
Color name reference table 
 
List of available bits-per-pixel sizes. 
 
Maskable list of color valies. 
 
List of available color modes. 
 
Color name reference table 
Functions
 
Name 
Description 
 
Calculates bilinear interpolation between four colors 
 
Blends two RGBA8888 colors together using their alpha channel values. 
 
Used for getting the alpha color channel of a given color value. 
 
Used for getting the blue color channel of a given color value. 
 
Used for getting the green color channel of a given color value. 
 
Used for getting the red color channel of a given color value. 
 
Converts a color value from one mode to another 
 
Linear interpolation between two colors 
 
 
 
Used for getting a color value by name. 
Macros
 
Name 
Description 
 
This is macro GFX_COLOR_MODE_COUNT. 
 
This is macro GFX_COLOR_MODE_IS_ALPHA. 
 
This is macro GFX_COLOR_MODE_IS_INDEX. 
 
This is macro GFX_COLOR_MODE_IS_PIXEL. 
 
This is macro GFX_COLOR_MODE_LAST_COLOR. 
Structures
 
Name 
Description 
 
Struct that provides information about a color mode. 
 
Struct that provides information about a color mode. 
Variables
 
Name 
Description 
 
This is variable GFX_ColorInfo. 
MPLAB® Harmony Graphics Suite