MPLAB® Harmony Graphics Suite > Graphics Library > Aria Graphics Library > Aria Hardware Abstraction Layer (HAL) > Library Interface > a) Functions > GFX_ColorBilerp Function
MPLAB® Harmony Graphics Suite
GFX_ColorBilerp Function
C
LIB_EXPORT GFX_Color GFX_ColorBilerp(
    GFX_Color c00, 
    GFX_Color c01, 
    GFX_Color c10, 
    GFX_Color c11, 
    uint32_t xper, 
    uint32_t yper, 
    GFX_ColorMode mode
);
Parameters
Parameters 
Description 
GFX_Color c00 
top left color input 
GFX_Color c01 
top right color input 
GFX_Color c10 
bottom left color input 
GFX_Color c11 
bottom right color input 
uint32_t xper 
percentage of interpolation in x [0-100] 
uint32_t yper 
percentage of interpolation in y [0-100] 
input color mode 
Returns

GFX_Color - the result color

MPLAB® Harmony Graphics Suite