Searched refs:paragraphTxt (Results 1 – 4 of 4) sorted by relevance
285 CHECK_NULL_RETURN(paragraphTxt, 0); in GetLineCount()286 return paragraphTxt->GetLineCount(); in GetLineCount()825 CHECK_NULL_VOID(paragraphTxt); in SetIndents()826 paragraphTxt->SetIndents(indents); in SetIndents()838 CHECK_NULL_RETURN(paragraphTxt, false); in GetWordBoundary()933 CHECK_NULL_RETURN(paragraphTxt, lineMetrics); in GetLineMetricsByRectF()934 auto metrics = paragraphTxt->GetLineMetrics(); in GetLineMetricsByRectF()964 CHECK_NULL_RETURN(paragraphTxt, lineMetrics); in GetLineMetrics()1002 CHECK_NULL_RETURN(paragraphTxt, RectF()); in GetPaintRegion()1059 CHECK_NULL_RETURN(paragraphTxt, false); in GetLineMetricsByCoordinate()[all …]
379 auto paragraphTxt = static_cast<txt::ParagraphTxt*>(paragraph_.get()); in GetTextLines() local380 if (paragraphTxt != nullptr) { in GetTextLines()381 textLines = paragraphTxt->GetLineCount(); in GetTextLines()585 auto* paragraphTxt = static_cast<txt::ParagraphTxt*>(paragraph_.get()); in GetTextWidth() local586 if (paragraphTxt != nullptr && paragraphTxt->GetLineCount() == 1) { in GetTextWidth()601 auto* paragraphTxt = static_cast<txt::ParagraphTxt*>(paragraph_.get()); in DidExceedMaxLines() local602 if (paragraphTxt != nullptr) { in DidExceedMaxLines()603 bool didExceedMaxLines = paragraphTxt->DidExceedMaxLines() || in DidExceedMaxLines()
743 auto paragraphTxt = static_cast<txt::ParagraphTxt*>(paragraph_.get()); local744 if (paragraphTxt != nullptr) {745 textHeight_ = paragraphTxt->GetHeight();746 textLines_ = paragraphTxt->GetLineCount();
850 auto* paragraphTxt = static_cast<txt::ParagraphTxt*>(paragraph.get()); in MeasureTextSizeInner() local852 auto* paragraphTxt = static_cast<Rosen::Typography*>(paragraph.get()); in MeasureTextSizeInner() local854 if (paragraphTxt->GetLineCount() == 1 && !context.isReturnActualWidth) { in MeasureTextSizeInner()