MPLAB® Harmony Graphics Suite > Graphics Library > Legato Graphics Library > Legato Interface > a) Common Functions > leColorBilerp Function
MPLAB® Harmony Graphics Suite
leColorBilerp Function
C
LIB_EXPORT leColor leColorBilerp(
    leColor c00, 
    leColor c01, 
    leColor c10, 
    leColor c11, 
    uint32_t xper, 
    uint32_t yper, 
    leColorMode mode
);
Parameters
Parameters 
Description 
leColor c00 
top left color input 
leColor c01 
top right color input 
leColor c10 
bottom left color input 
leColor 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] 
leColorMode 
input color mode 
Returns

leColor - the result color

MPLAB® Harmony Graphics Suite