Searched refs:color1 (Results 1 - 3 of 3) sorted by relevance

/haiku/src/kits/interface/
H A DGraphicsDefs.cpp54 mix_color(rgb_color color1, rgb_color color2, uint8 amount) argument
56 color1.red = (uint8)(((int16(color2.red) - int16(color1.red)) * amount)
57 / 255 + color1.red);
58 color1.green = (uint8)(((int16(color2.green) - int16(color1.green))
59 * amount) / 255 + color1.green);
60 color1.blue = (uint8)(((int16(color2.blue) - int16(color1.blue)) * amount)
61 / 255 + color1
71 blend_color(rgb_color color1, rgb_color color2, uint8 amount) argument
[all...]
/haiku/src/tests/kits/interface/flatten_picture/
H A DPictureTest.cpp267 uint32 color1 = 0; local
269 memcpy(&color1, pixel1, bpp);
271 sprintf(buffer1, "0x%8.8x", (int)color1);
/haiku/headers/os/interface/
H A DGraphicsDefs.h115 rgb_color mix_color(rgb_color color1, rgb_color color2, uint8 amount);
116 rgb_color blend_color(rgb_color color1, rgb_color color2, uint8 amount);

Completed in 40 milliseconds