Home
last modified time | relevance | path

Searched refs:textLine_ (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/text_line_napi/
H A Djs_text_line.cpp116 textLine_ = std::move(textLine); in SetTextLine()
145 if (textLine_ == nullptr) { in OnGetGlyphCount()
150 uint32_t textSize = textLine_->GetGlyphCount(); in OnGetGlyphCount()
156 if (textLine_ == nullptr) { in OnGetGlyphRuns()
160 std::vector<std::unique_ptr<Run>> runs = textLine_->GetGlyphRuns(); in OnGetGlyphRuns()
189 if (textLine_ == nullptr) { in OnGetTextRange()
194 Boundary boundary = textLine_->GetTextRange(); in OnGetTextRange()
206 if (textLine_ == nullptr) { in OnPaint()
233 textLine_->Paint(jsCanvas->GetCanvas(), x, y); in OnPaint()
240 return std::move(textLine_); in GetTextLineBase()
H A Djs_text_line.h50 std::unique_ptr<TextLineBase> textLine_ = nullptr; variable
/ohos5.0/foundation/arkui/ui_lite/frameworks/common/
H A Dtext.cpp26 Text::TextLine Text::textLine_[MAX_LINE_COUNT] = {{0}}; member in OHOS::Text
291 uint16_t lineBytes = textLine_[i].lineBytes; in Draw()
380 lineBegin += textLine_[letterIndex].lineBytes; in SetNextLineBegin()
426 if (maxLineBytes < textLine_[lineNum].lineBytes) { in GetLine()
427 maxLineBytes = textLine_[lineNum].lineBytes; in GetLine()
434 textLine_[lineNum - 1].linePixelWidth += ellipsisWidth; in GetLine()
435 if (textLine_[lineNum - 1].linePixelWidth > width) { in GetLine()
450 begin -= textLine_[lineNum - 1].lineBytes; in CalculateLineWithEllipsis()
454 textLine_[lineNum]); in CalculateLineWithEllipsis()
459 if (maxLineBytes < textLine_[i].lineBytes) { in CalculateLineWithEllipsis()
[all …]
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/common/
H A Dtext.h574 static TextLine textLine_[MAX_LINE_COUNT]; variable