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

Creative Commons License This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License