#include <paragraph_builder.h>
Public Member Functions | |
| ParagraphBuilder (const TypographyContext &context) | |
| ~ParagraphBuilder () override | |
| ParagraphBuilder (const ParagraphBuilder &)=delete | |
| ParagraphBuilder & | operator= (const ParagraphBuilder &)=delete |
| bool | IsValid () const |
| void | PushStyle (const ParagraphStyle &style) |
| void | PopStyle () |
| void | AddText (const uint8_t *data, size_t byte_length) |
| ScopedObject< Paragraph > | Build (Scalar width) const |
Public Member Functions inherited from impeller::interop::ObjectBase | |
| ObjectBase ()=default | |
| virtual | ~ObjectBase ()=default |
| ObjectBase (const ObjectBase &)=delete | |
| ObjectBase (ObjectBase &&)=delete | |
| ObjectBase & | operator= (const ObjectBase &)=delete |
| ObjectBase & | operator= (ObjectBase &&)=delete |
| void | Retain () |
| void | Release () |
| uint64_t | GetRefCountForTests () const |
Additional Inherited Members | |
Public Types inherited from impeller::interop::Object< ParagraphBuilder, IMPELLER_INTERNAL_HANDLE_NAME(ImpellerParagraphBuilder)> | |
| using | InteropClass = ParagraphBuilder |
| using | InteropCSibling = IMPELLER_INTERNAL_HANDLE_NAME(ImpellerParagraphBuilder) |
Static Public Member Functions inherited from impeller::interop::ObjectBase | |
| static void | SafeRetain (void *ptr) |
| static void | SafeRelease (void *ptr) |
Definition at line 19 of file paragraph_builder.h.
|
explicit |
Definition at line 13 of file paragraph_builder.cc.
References impeller::interop::TypographyContext::GetFontCollection(), impeller::interop::TypographyContext::IsValid(), and VALIDATION_LOG.
|
overridedefault |
|
delete |
| void impeller::interop::ParagraphBuilder::AddText | ( | const uint8_t * | data, |
| size_t | byte_length | ||
| ) |
Definition at line 42 of file paragraph_builder.cc.
References data.
| ScopedObject< Paragraph > impeller::interop::ParagraphBuilder::Build | ( | Scalar | width | ) | const |
Definition at line 46 of file paragraph_builder.cc.
| bool impeller::interop::ParagraphBuilder::IsValid | ( | ) | const |
Definition at line 30 of file paragraph_builder.cc.
|
delete |
| void impeller::interop::ParagraphBuilder::PopStyle | ( | ) |
Definition at line 38 of file paragraph_builder.cc.
| void impeller::interop::ParagraphBuilder::PushStyle | ( | const ParagraphStyle & | style | ) |
Definition at line 34 of file paragraph_builder.cc.
References impeller::interop::ParagraphStyle::CreateTextStyle().