while (z.m) { txt = ParseQTF(text.Begin() + 1, 0); txt.ApplyZoom(z); txtsz.cx = min(INT_MAX, txt.GetWidth()); txtsz.cy = txt.GetHeight(Zoom(1, 1), txtsz.cx); if ((txtsz.cx != 10000) && (txtsz.cx > r.GetWidth() || txtsz.cy > r.GetHeight())) z.m--; else break; }
Report message to a moderator