#include <paragraph_builder.h>
Definition at line 20 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() [1/2]
| virtual void txt::ParagraphBuilder::AddText |
( |
const std::u16string & |
text | ) |
|
|
pure virtual |
◆ AddText() [2/2]
| virtual void txt::ParagraphBuilder::AddText |
( |
const uint8_t * |
utf8_data, |
|
|
size_t |
byte_length |
|
) |
| |
|
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 19 of file paragraph_builder.cc.
22 {
23 return std::make_unique<ParagraphBuilderSkia>(style, font_collection,
24 impeller_enabled);
25}
◆ 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: