Lines Matching refs:round
24 #define round(x) (int)(x +.5)
239 G = round(fMarkerPosition.x / width * 255.0);
240 B = round(255.0 - fMarkerPosition.y / height * 255.0);
244 R = round(fMarkerPosition.x / width * 255.0);
246 B = round(255.0 - fMarkerPosition.y / height * 255.0);
250 R = round(fMarkerPosition.x / width * 255.0);
251 G = round(255.0 - fMarkerPosition.y / height * 255.0);
279 rgb_color color = { (uint8)round(R), (uint8)round(G), (uint8)round(B),
460 r = round(fixedValue * 255);
474 g = round(fixedValue * 255);
488 b = round(fixedValue * 255);
511 round(r * 255.0),
512 round(g * 255.0),
513 round(b * 255.0));
526 round(r * 255.0),
527 round(g * 255.0),
528 round(b * 255.0));
545 round(r * 255.0),
546 round(g * 255.0),
547 round(b * 255.0));
563 round(r * 255.0),
564 round(g * 255.0),
565 round(b * 255.0));