Home
last modified time | relevance | path

Searched refs:letterWidth (Results 1 – 3 of 3) sorted by relevance

/foundation/graphic/ui/frameworks/draw/
Ddraw_label.cpp40 uint16_t letterWidth; in DrawTextOneLine() local
57 letterWidth = fontEngine->GetWidth(letter, 0); in DrawTextOneLine()
59 labelLine.pos.x -= (letterWidth + labelLine.style.letterSpace_); in DrawTextOneLine()
61 labelLine.pos.x += (letterWidth + labelLine.style.letterSpace_); in DrawTextOneLine()
84 uint16_t letterWidth; in DrawArcText() local
105 letterWidth = UIFont::GetInstance()->GetWidth(letter, 0); in DrawArcText()
107 …angle += TypedText::GetAngleForArcLen(static_cast<float>(letterWidth), letterHeight, arcTextInfo.r… in DrawArcText()
110 uint16_t arcLen = letterWidth + style.letterSpace_; in DrawArcText()
120 float fineTuningAngle = incrementAngle * (static_cast<float>(letterWidth) / (2 * arcLen)); in DrawArcText()
/foundation/graphic/ui/frameworks/common/
Dtyped_text.cpp104 uint16_t letterWidth = UIFont::GetInstance()->GetWidth(letter, 0); in GetArcTextRect() local
106 …angle += xorFlag ? GetAngleForArcLen(static_cast<float>(letterWidth), letterHeight, arcTextInfo.ra… in GetArcTextRect()
113 rectLetter.Resize(letterWidth, letterHeight); in GetArcTextRect()
116 uint16_t arcLen = letterWidth + letterSpace; in GetArcTextRect()
125 float fineTuningAngle = incrementAngle * (static_cast<float>(letterWidth) / (2 * arcLen)); in GetArcTextRect()
176 uint16_t letterWidth; in GetNextLine() local
180 letterWidth = UIFont::GetInstance()->GetWidth(letter, 0); in GetNextLine()
181 curW += letterWidth; in GetNextLine()
182 if (letterWidth > 0) { in GetNextLine()
Dtext.cpp364 int16_t letterWidth = fontEngine->GetWidth('.', 0) + style.letterSpace_; in GetEllipsisIndex() local
366 p.x = textRect.GetWidth() - letterWidth * TEXT_ELLIPSIS_DOT_NUM; in GetEllipsisIndex()