Lines Matching defs:rint
52 #ifndef rint
54 # define rint(x) lrint(x)
56 # define rint(x) floor(x + 0.5)
1541 width = max(rint(scale_x * src->width), 1);
1542 height = max(rint(scale_y * src->height), 1);
1560 table.x[x] = rint(scale_x * x);
1561 table.width[x] = rint(scale_x * (x + 1)) - rint(scale_x * x);
1564 table.y[y] = rint(scale_y * y);
1565 table.height[y] = rint(scale_y * (y + 1)) - rint(scale_y * y);