Searched refs:TextLayoutAlgorithm (Results 1 – 7 of 7) sorted by relevance
21 TextLayoutAlgorithm::TextLayoutAlgorithm() = default;23 void TextLayoutAlgorithm::OnReset() {} in OnReset()25 void TextLayoutAlgorithm::Measure(LayoutWrapper* layoutWrapper) {} in Measure()27 std::optional<SizeF> TextLayoutAlgorithm::MeasureContent( in MeasureContent()33 bool TextLayoutAlgorithm::CreateParagraph(const TextStyle& textStyle, std::string content) in CreateParagraph()38 bool TextLayoutAlgorithm::CreateParagraphAndLayout( in CreateParagraphAndLayout()44 bool TextLayoutAlgorithm::AdaptMinTextSize(TextStyle& textStyle, const std::string& content, in AdaptMinTextSize()50 bool TextLayoutAlgorithm::DidExceedMaxLines(const SizeF& maxSize) in DidExceedMaxLines()55 TextDirection TextLayoutAlgorithm::GetTextDirection(const std::string& content) in GetTextDirection()60 float TextLayoutAlgorithm::GetTextWidth() const in GetTextWidth()[all …]
33 class ACE_EXPORT TextLayoutAlgorithm : public BoxLayoutAlgorithm {34 DECLARE_ACE_TYPE(TextLayoutAlgorithm, BoxLayoutAlgorithm);37 TextLayoutAlgorithm();39 …TextLayoutAlgorithm(std::list<RefPtr<SpanItem>> spanItemChildren, const RefPtr<Paragraph>& paragra… in TextLayoutAlgorithm() function43 ~TextLayoutAlgorithm() override = default;73 ACE_DISALLOW_COPY_AND_MOVE(TextLayoutAlgorithm);
52 TextLayoutAlgorithm::TextLayoutAlgorithm() = default;54 void TextLayoutAlgorithm::OnReset() {} in OnReset()56 std::optional<SizeF> TextLayoutAlgorithm::MeasureContent( in MeasureContent()102 void TextLayoutAlgorithm::Measure(LayoutWrapper* layoutWrapper) in Measure()115 bool TextLayoutAlgorithm::CreateParagraph(const TextStyle& textStyle, std::string content) in CreateParagraph()144 bool TextLayoutAlgorithm::CreateParagraphAndLayout( in CreateParagraphAndLayout()156 bool TextLayoutAlgorithm::AdaptMinTextSize(TextStyle& textStyle, const std::string& content, in AdaptMinTextSize()200 bool TextLayoutAlgorithm::DidExceedMaxLines(const SizeF& maxSize) in DidExceedMaxLines()209 TextDirection TextLayoutAlgorithm::GetTextDirection(const std::string& content) in GetTextDirection()225 float TextLayoutAlgorithm::GetTextWidth() const in GetTextWidth()[all …]
57 return MakeRefPtr<TextLayoutAlgorithm>(spanItemChildren_, paragraph_); in CreateLayoutAlgorithm()
430 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgor… in OnDirtyLayoutWrapperSwap()
94 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();152 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();201 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();254 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();307 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();360 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();406 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();458 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();512 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();757 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();[all …]
652 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…679 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…734 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…