#include <paragraph_builder.h>
Definition at line 32 of file paragraph_builder.h.
◆ ~ParagraphBuilder()
virtual txt::ParagraphBuilder::~ParagraphBuilder |
( |
| ) |
|
|
virtualdefault |
◆ ParagraphBuilder()
txt::ParagraphBuilder::ParagraphBuilder |
( |
| ) |
|
|
protecteddefault |
◆ AddPlaceholder()
virtual void txt::ParagraphBuilder::AddPlaceholder |
( |
PlaceholderRun & |
span | ) |
|
|
pure virtual |
◆ AddText()
virtual void txt::ParagraphBuilder::AddText |
( |
const std::u16string & |
text | ) |
|
|
pure virtual |
◆ Build()
virtual std::unique_ptr< Paragraph > txt::ParagraphBuilder::Build |
( |
| ) |
|
|
pure virtual |
◆ CreateSkiaBuilder()
Creates a |ParagraphBuilder| based on Skia's text layout module.
- Parameters
-
[in] | style | The style to use for the paragraph. |
[in] | font_collection | The font collection to use for the paragraph. |
[in] | impeller_enabled | Whether Impeller is enabled in the runtime. |
Definition at line 31 of file paragraph_builder.cc.
34 {
35 return std::make_unique<ParagraphBuilderSkia>(style, font_collection,
36 impeller_enabled);
37}
◆ PeekStyle()
virtual const TextStyle & txt::ParagraphBuilder::PeekStyle |
( |
| ) |
|
|
pure virtual |
◆ Pop()
virtual void txt::ParagraphBuilder::Pop |
( |
| ) |
|
|
pure virtual |
◆ PushStyle()
virtual void txt::ParagraphBuilder::PushStyle |
( |
const TextStyle & |
style | ) |
|
|
pure virtual |
The documentation for this class was generated from the following files: