Lines Matching defs:round
25 #define round(x) (int)(x+.5)
284 G = round(fFixedValue1 * 255.0);
285 B = round(fFixedValue2 * 255.0);
289 R = round(fFixedValue1 * 255.0);
291 B = round(fFixedValue2 * 255.0);
295 R = round(fFixedValue1 * 255.0);
296 G = round(fFixedValue2 * 255.0);
326 rgb_color color = { (uint8)round(R), (uint8)round(G), (uint8)round(B),
388 SetValue(255.0 - round(h / 6.0 * 255.0));
392 SetValue(255.0 - round(s * 255.0));
396 SetValue(255.0 - round(v * 255.0));
475 g = round(fixedValue1 * 255);
476 b = round(fixedValue2 * 255);
493 r = round(fixedValue1 * 255);
494 b = round(fixedValue2 * 255);
511 r = round(fixedValue1 * 255);
512 g = round(fixedValue2 * 255);