Next: Pixmap Remarks, Previous: Other Pixmap Routines, Up: Pixmap Object [Contents][Index]
By default if a pixmap has more colors than that available in the colormap, the library will use substitute colors that are judged "close enough". This closeness is defined as the difference between the requested color and the color found being smaller than some pre-set threshold values between 0 and 65535 (0 means exact match). The default thresholds are 40000 for red, 30000 for green and 50000 for blue. To change these defaults, use the following routine
void fl_set_pixmap_colorcloseness(int red, int green, int blue);