Reference Manual - 0.9.25
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.