#include <paragraph_style.h>
Public Member Functions | |
| ParagraphStyle () | |
| ~ParagraphStyle () override | |
| ParagraphStyle (const ParagraphStyle &)=delete | |
| ParagraphStyle & | operator= (const ParagraphStyle &)=delete |
| void | SetForeground (ScopedObject< Paint > paint) |
| void | SetBackground (ScopedObject< Paint > paint) |
| void | SetFontWeight (txt::FontWeight weight) |
| void | SetFontStyle (txt::FontStyle style) |
| void | SetFontFamily (std::string family) |
| void | SetFontSize (double size) |
| void | SetHeight (double height) |
| void | SetTextAlignment (txt::TextAlign alignment) |
| void | SetTextDirection (txt::TextDirection direction) |
| void | SetMaxLines (size_t max_lines) |
| void | SetLocale (std::string locale) |
| txt::TextStyle | CreateTextStyle () const |
| const txt::ParagraphStyle & | GetParagraphStyle () 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< ParagraphStyle, IMPELLER_INTERNAL_HANDLE_NAME(ImpellerParagraphStyle)> | |
| using | InteropClass = ParagraphStyle |
| using | InteropCSibling = IMPELLER_INTERNAL_HANDLE_NAME(ImpellerParagraphStyle) |
Static Public Member Functions inherited from impeller::interop::ObjectBase | |
| static void | SafeRetain (void *ptr) |
| static void | SafeRelease (void *ptr) |
Definition at line 15 of file paragraph_style.h.
|
explicitdefault |
|
overridedefault |
|
delete |
| txt::TextStyle impeller::interop::ParagraphStyle::CreateTextStyle | ( | ) | const |
Definition at line 58 of file paragraph_style.cc.
Referenced by impeller::interop::ParagraphBuilder::PushStyle().
| const txt::ParagraphStyle & impeller::interop::ParagraphStyle::GetParagraphStyle | ( | ) | const |
Definition at line 70 of file paragraph_style.cc.
Referenced by impeller::interop::ParagraphBuilder::PushStyle().
|
delete |
| void impeller::interop::ParagraphStyle::SetBackground | ( | ScopedObject< Paint > | paint | ) |
Definition at line 54 of file paragraph_style.cc.
| void impeller::interop::ParagraphStyle::SetFontFamily | ( | std::string | family | ) |
Definition at line 21 of file paragraph_style.cc.
| void impeller::interop::ParagraphStyle::SetFontSize | ( | double | size | ) |
Definition at line 25 of file paragraph_style.cc.
| void impeller::interop::ParagraphStyle::SetFontStyle | ( | txt::FontStyle | style | ) |
Definition at line 17 of file paragraph_style.cc.
| void impeller::interop::ParagraphStyle::SetFontWeight | ( | txt::FontWeight | weight | ) |
Definition at line 13 of file paragraph_style.cc.
| void impeller::interop::ParagraphStyle::SetForeground | ( | ScopedObject< Paint > | paint | ) |
Definition at line 50 of file paragraph_style.cc.
| void impeller::interop::ParagraphStyle::SetHeight | ( | double | height | ) |
Definition at line 29 of file paragraph_style.cc.
| void impeller::interop::ParagraphStyle::SetLocale | ( | std::string | locale | ) |
Definition at line 46 of file paragraph_style.cc.
| void impeller::interop::ParagraphStyle::SetMaxLines | ( | size_t | max_lines | ) |
Definition at line 42 of file paragraph_style.cc.
| void impeller::interop::ParagraphStyle::SetTextAlignment | ( | txt::TextAlign | alignment | ) |
Definition at line 34 of file paragraph_style.cc.
| void impeller::interop::ParagraphStyle::SetTextDirection | ( | txt::TextDirection | direction | ) |
Definition at line 38 of file paragraph_style.cc.