Searched refs:lineBegin (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/arkui/ui_lite/frameworks/common/ |
H A D | text.cpp | 273 uint16_t lineBegin = 0; in Draw() local 293 SetLineBytes(lineBytes, lineBegin); in Draw() 297 &text_[lineBegin], textLine_[i].lineBytes, fontId_, fontSize_, in Draw() 317 0, opa, style, &text_[lineBegin], lineBytes, in Draw() 318 … lineBegin, fontId_, fontSize_, 0, static_cast<UITextLanguageDirect>(direct_), in Draw() 330 letterIndex = TypedText::GetUTF8CharacterSize(text_, lineBegin + lineBytes); in Draw() 333 tempLetterIndex, lineHeight, lineBegin, i); in Draw() 365 void Text::SetLineBytes(uint16_t& lineBytes, uint16_t lineBegin) in SetLineBytes() argument 369 while (j >= 0 && text_[lineBegin + j] == ' ') { in SetLineBytes() 378 … int16_t& tempLetterIndex, int16_t& lineHeight, uint16_t& lineBegin, uint16_t letterIndex) in SetNextLineBegin() argument [all …]
|
H A D | typed_text.cpp | 38 uint32_t lineBegin = 0; in GetTextSize() local 45 while (text[lineBegin] != '\0') { in GetTextSize() 47 …newLineBegin += UIFontAdaptor::GetNextLineAndWidth(&text[lineBegin], fontId, fontSize, letterSpace… in GetTextSize() 56 if (newLineBegin == lineBegin) { in GetTextSize() 61 lineBegin = newLineBegin; in GetTextSize() 64 if ((lineBegin != 0) && ((text[lineBegin - 1] == '\n') || (text[lineBegin - 1] == '\r'))) { in GetTextSize()
|
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/common/ |
H A D | text.h | 629 void SetLineBytes(uint16_t& lineBytes, uint16_t lineBegin); 634 … int16_t& tempLetterIndex, int16_t& lineHeight, uint16_t& lineBegin, uint16_t letterIndex);
|