Home
last modified time | relevance | path

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

/NW4C-1.2.23/sources/libraries/lyt/
Dlyt_TextBox.cpp273 ut::Rect textRect; in GetTextDrawRect() local
274 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()
/NW4C-1.2.23/sources/libraries/font/
Dfont_TextWriterBase.cpp814 ut::Rect textRect; in AdjustCursor() local
815 CalcStringRect(&textRect, str, length); in AdjustCursor()
816 textWidth = textRect.left + textRect.right; in AdjustCursor()
817 textHeight = textRect.top + textRect.bottom; in AdjustCursor()