Lua: matchcolor2() now takes an optional argument that is the weight of lightness in color proximity algorithm (instead of the 0.25 default).
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1821 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -101,6 +101,7 @@ byte Best_color(byte red,byte green,byte blue);
|
||||
byte Best_color_nonexcluded(byte red,byte green,byte blue);
|
||||
byte Best_color_perceptual(byte r,byte g,byte b);
|
||||
byte Best_color_perceptual_except(byte r,byte g,byte b, byte except);
|
||||
byte Best_color_perceptual_weighted(byte r,byte g,byte b, float weight);
|
||||
|
||||
void Horizontal_XOR_line_zoom(short x_pos, short y_pos, short width);
|
||||
void Vertical_XOR_line_zoom(short x_pos, short y_pos, short height);
|
||||
|
||||
Reference in New Issue
Block a user