5 #ifndef FLUTTER_IMPELLER_TOOLKIT_INTEROP_PARAGRAPH_BUILDER_H_
6 #define FLUTTER_IMPELLER_TOOLKIT_INTEROP_PARAGRAPH_BUILDER_H_
10 #include "flutter/txt/src/txt/paragraph_builder.h"
20 :
public Object<ParagraphBuilder,
21 IMPELLER_INTERNAL_HANDLE_NAME(ImpellerParagraphBuilder)> {
37 void AddText(
const uint8_t* data,
size_t byte_length);
43 mutable std::unique_ptr<txt::ParagraphBuilder> lazy_builder_;
45 const std::unique_ptr<txt::ParagraphBuilder>& GetBuilder(
46 const txt::ParagraphStyle& style)
const;
48 const std::unique_ptr<txt::ParagraphBuilder>& GetBuilder()
const;
ParagraphBuilder & operator=(const ParagraphBuilder &)=delete
ParagraphBuilder(ScopedObject< TypographyContext > context)
ParagraphBuilder(const ParagraphBuilder &)=delete
~ParagraphBuilder() override
ScopedObject< Paragraph > Build(Scalar width) const
void PushStyle(const ParagraphStyle &style)
void AddText(const uint8_t *data, size_t byte_length)