5 #ifndef FLUTTER_IMPELLER_TOOLKIT_INTEROP_PARAGRAPH_H_
6 #define FLUTTER_IMPELLER_TOOLKIT_INTEROP_PARAGRAPH_H_
8 #include "flutter/third_party/txt/src/txt/paragraph.h"
16 IMPELLER_INTERNAL_HANDLE_NAME(ImpellerParagraph)> {
18 explicit Paragraph(std::unique_ptr<txt::Paragraph> paragraph);
42 const std::unique_ptr<txt::Paragraph>&
GetHandle()
const;
45 std::unique_ptr<txt::Paragraph> paragraph_;
Scalar GetMaxWidth() const
Scalar GetLongestLineWidth() const
Scalar GetMinIntrinsicWidth() const
Paragraph & operator=(const Paragraph &)=delete
uint32_t GetLineCount() const
Scalar GetIdeographicBaseline() const
Paragraph(const Paragraph &)=delete
Paragraph(std::unique_ptr< txt::Paragraph > paragraph)
Scalar GetAlphabeticBaseline() const
Scalar GetMaxIntrinsicWidth() const
const std::unique_ptr< txt::Paragraph > & GetHandle() const