#include <typography_context.h>
Definition at line 16 of file typography_context.h.
◆ TypographyContext() [1/2]
| impeller::interop::TypographyContext::TypographyContext |
( |
| ) |
|
Definition at line 14 of file typography_context.cc.
15 : collection_(std::make_shared<txt::FontCollection>()) {
16 static std::once_flag sICUInitOnceFlag;
17 std::call_once(sICUInitOnceFlag, []() {
18 auto icu_data = std::make_unique<fml::NonOwnedMapping>(
19 impeller_embedded_icu_data_data, impeller_embedded_icu_data_length);
20 fml::icu::InitializeICUFromMapping(std::move(icu_data));
22 collection_->SetupDefaultFontManager(0u);
◆ ~TypographyContext()
| impeller::interop::TypographyContext::~TypographyContext |
( |
| ) |
|
|
overridedefault |
◆ TypographyContext() [2/2]
| impeller::interop::TypographyContext::TypographyContext |
( |
const TypographyContext & |
| ) |
|
|
delete |
◆ GetFontCollection()
| const std::shared_ptr< txt::FontCollection > & impeller::interop::TypographyContext::GetFontCollection |
( |
| ) |
const |
◆ IsValid()
| bool impeller::interop::TypographyContext::IsValid |
( |
| ) |
const |
◆ operator=()
The documentation for this class was generated from the following files: