Searched refs:textRect (Results 1 – 2 of 2) sorted by relevance
275 ut::Rect textRect; in GetTextDrawRect() local276 writer.CalcStringRect(&textRect, m_TextBuf, m_TextLen); in GetTextDrawRect()278 const Size textSize(textRect.GetWidth(), textRect.GetHeight()); in GetTextDrawRect()288 textRect.left = ltPos.x; in GetTextDrawRect()289 textRect.top = ltPos.y; in GetTextDrawRect()290 textRect.right = ltPos.x + textSize.width; in GetTextDrawRect()291 textRect.bottom = ltPos.y - textSize.height; in GetTextDrawRect()293 return textRect; in GetTextDrawRect()
816 ut::Rect textRect; in AdjustCursor() local817 CalcStringRect(&textRect, str, length); in AdjustCursor()818 textWidth = textRect.left + textRect.right; in AdjustCursor()819 textHeight = textRect.top + textRect.bottom; in AdjustCursor()