Flutter Engine
The Flutter Engine
|
#include "include/core/SkRefCnt.h"
#include "include/core/SkStream.h"
#include "include/ports/SkFontMgr_data.h"
#include "src/core/SkFontDescriptor.h"
#include "src/core/SkFontScanner.h"
#include "src/ports/SkFontMgr_custom.h"
Go to the source code of this file.
Classes | |
struct | SkEmbeddedResource |
struct | SkEmbeddedResourceHeader |
class | EmbeddedSystemFontLoader |
class | DataFontLoader |
Functions | |
static void | load_font_from_data (const SkFontScanner *scanner, std::unique_ptr< SkMemoryStream > stream, int index, SkFontMgr_Custom::Families *families) |
static SkFontStyleSet_Custom * | find_family (SkFontMgr_Custom::Families &families, const char familyName[]) |
sk_sp< SkFontMgr > | SkFontMgr_New_Custom_Embedded (const SkEmbeddedResourceHeader *header) |
sk_sp< SkFontMgr > | SkFontMgr_New_Custom_Data (SkSpan< sk_sp< SkData > > datas) |
|
static |
Definition at line 68 of file SkFontMgr_custom_embedded.cpp.
|
static |
Definition at line 79 of file SkFontMgr_custom_embedded.cpp.
Create a custom font manager which wraps a collection of SkData-stored fonts. This font manager uses FreeType for rendering.
Definition at line 130 of file SkFontMgr_custom_embedded.cpp.
sk_sp< SkFontMgr > SkFontMgr_New_Custom_Embedded | ( | const SkEmbeddedResourceHeader * | header | ) |
Definition at line 126 of file SkFontMgr_custom_embedded.cpp.