Searched refs:textLine_ (Results 1 – 4 of 4) sorted by relevance
116 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()
50 std::unique_ptr<TextLineBase> textLine_ = nullptr; variable
26 Text::TextLine Text::textLine_[MAX_LINE_COUNT] = {{0}}; member in OHOS::Text291 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 …]
574 static TextLine textLine_[MAX_LINE_COUNT]; variable