#include <paragraph_style.h>
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 60 of file paragraph_style.cc.
References txt::TextStyle::foreground, txt::ParagraphStyle::GetTextStyle(), impeller::interop::ToSkiaType(), and impeller::interop::ToTxtType().
Referenced by impeller::interop::ParagraphBuilder::PushStyle().
| const txt::ParagraphStyle & impeller::interop::ParagraphStyle::GetParagraphStyle | ( | ) | const |
Definition at line 80 of file paragraph_style.cc.
Referenced by impeller::interop::ParagraphBuilder::PushStyle().
|
delete |
| void impeller::interop::ParagraphStyle::SetBackground | ( | ScopedObject< Paint > | paint | ) |
Definition at line 56 of file paragraph_style.cc.
| void impeller::interop::ParagraphStyle::SetEllipsis | ( | const std::string & | string | ) |
Definition at line 89 of file paragraph_style.cc.
References txt::ParagraphStyle::ellipsis, and fml::Utf8ToUtf16().
| void impeller::interop::ParagraphStyle::SetFontFamily | ( | std::string | family | ) |
Definition at line 23 of file paragraph_style.cc.
References txt::ParagraphStyle::font_family.
| void impeller::interop::ParagraphStyle::SetFontSize | ( | double | size | ) |
Definition at line 27 of file paragraph_style.cc.
References txt::ParagraphStyle::font_size.
| void impeller::interop::ParagraphStyle::SetFontStyle | ( | txt::FontStyle | style | ) |
Definition at line 19 of file paragraph_style.cc.
References txt::ParagraphStyle::font_style.
| void impeller::interop::ParagraphStyle::SetFontWeight | ( | int | weight | ) |
Definition at line 15 of file paragraph_style.cc.
References txt::ParagraphStyle::font_weight.
| void impeller::interop::ParagraphStyle::SetForeground | ( | ScopedObject< Paint > | paint | ) |
Definition at line 52 of file paragraph_style.cc.
| void impeller::interop::ParagraphStyle::SetHeight | ( | double | height | ) |
Definition at line 31 of file paragraph_style.cc.
References txt::ParagraphStyle::has_height_override, height, and txt::ParagraphStyle::height.
| void impeller::interop::ParagraphStyle::SetLocale | ( | std::string | locale | ) |
Definition at line 48 of file paragraph_style.cc.
References txt::ParagraphStyle::locale.
| void impeller::interop::ParagraphStyle::SetMaxLines | ( | size_t | max_lines | ) |
Definition at line 44 of file paragraph_style.cc.
References txt::ParagraphStyle::max_lines.
| void impeller::interop::ParagraphStyle::SetTextAlignment | ( | txt::TextAlign | alignment | ) |
Definition at line 36 of file paragraph_style.cc.
References txt::ParagraphStyle::text_align.
| void impeller::interop::ParagraphStyle::SetTextDecoration | ( | const ImpellerTextDecoration & | decoration | ) |
Definition at line 84 of file paragraph_style.cc.
| void impeller::interop::ParagraphStyle::SetTextDirection | ( | txt::TextDirection | direction | ) |
Definition at line 40 of file paragraph_style.cc.
References txt::ParagraphStyle::text_direction.