Reference Manual - 1.0.0
IDirectFBPalette
FindBestMatch
Find the best matching entry.
FindBestMatch (
IDirectFBPalette
*
thiz,
u8
r,
u8
g,
u8
b,
u8
a,
unsigned int
*
ret_index
);
Searches the map for an entry which best matches the specified color.