Searched refs:text_rc (Results 1 – 1 of 1) sorted by relevance
36 RECT text_rc = {0}; in CalculateWindowSizeForText() local37 ::DrawTextW(dc, text, -1, &text_rc, DT_CALCRECT | DT_SINGLELINE); in CalculateWindowSizeForText()43 *width = text_rc.right - text_rc.left; in CalculateWindowSizeForText()45 *height = text_rc.bottom - text_rc.top; in CalculateWindowSizeForText()