Searched refs:textRect (Results 1 – 2 of 2) sorted by relevance
273 ut::Rect textRect; in GetTextDrawRect() local274 writer.CalcStringRect(&textRect, m_TextBuf, m_TextLen); in GetTextDrawRect()276 const Size textSize(textRect.GetWidth(), textRect.GetHeight()); in GetTextDrawRect()286 textRect.left = ltPos.x; in GetTextDrawRect()287 textRect.top = ltPos.y; in GetTextDrawRect()288 textRect.right = ltPos.x + textSize.width; in GetTextDrawRect()289 textRect.bottom = ltPos.y - textSize.height; in GetTextDrawRect()291 return textRect; in GetTextDrawRect()
814 ut::Rect textRect; in AdjustCursor() local815 CalcStringRect(&textRect, str, length); in AdjustCursor()816 textWidth = textRect.left + textRect.right; in AdjustCursor()817 textHeight = textRect.top + textRect.bottom; in AdjustCursor()