Home
last modified time | relevance | path

Searched refs:textRect (Results 1 – 2 of 2) sorted by relevance

/NW4C-2.0.3/sources/libraries/lyt/
Dlyt_TextBox.cpp275 ut::Rect textRect; in GetTextDrawRect() local
276 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()
/NW4C-2.0.3/sources/libraries/font/
Dfont_TextWriterBase.cpp816 ut::Rect textRect; in AdjustCursor() local
817 CalcStringRect(&textRect, str, length); in AdjustCursor()
818 textWidth = textRect.left + textRect.right; in AdjustCursor()
819 textHeight = textRect.top + textRect.bottom; in AdjustCursor()