RECT_W
.max = (MAX_WIDTH / RECT_W) * (MAX_HEIGHT / RECT_H),
r->width = RECT_W;
if ((r->left + RECT_W) > act->width)
mod = act->width % RECT_W;