Lines Matching refs:floor
374 return Math.floor(Math.random() * (max - min + 1)) + min;
1165 n = (n > 0 || -1) * Math.floor(Math.abs(n));
17831 halfSide = Math.floor(side/2),
19004 var fabric = global.fabric || (global.fabric = { }), pow = Math.pow, floor = Math.floor, variable
19093 newWidth = floor(newWidth);
19094 newHeight = floor(newHeight);
19114 if (newWidth * signW < floor(stepW * multW * signW)) {
19115 stepW = floor(stepW * multW);
19121 if (newHeight * signH < floor(stepH * multH * signH)) {
19122 stepH = floor(stepH * multH);
19156 icenter.x = floor(center.x);
19159 icenter.y = floor(center.y);
19165 fX = floor(1000 * abs(i - center.x));
19173 fY = floor(1000 * abs(j - center.y));
19226 x = floor(ratioX * j);
19227 y = floor(ratioY * i);
19257 for (var yy = floor(j * ratioH); yy < (j + 1) * ratioH; yy++) {
19260 for (var xx = floor(i * ratioW); xx < (i + 1) * ratioW; xx++) {