if (real_ratio < aspect)
            {
                yy = y2;
                w = rha * aspect;
                xx = rw < 0 ? x1 - w : w + x1;