Flutter Engine
The Flutter Engine
|
#include "export.h"
#include "third_party/skia/include/core/SkFontMgr.h"
#include "third_party/skia/include/ports/SkFontMgr_empty.h"
#include "third_party/skia/modules/skparagraph/include/FontCollection.h"
#include "third_party/skia/modules/skparagraph/include/TypefaceFontProvider.h"
#include "wrappers.h"
#include <memory>
Go to the source code of this file.
Functions | |
SKWASM_EXPORT FlutterFontCollection * | fontCollection_create () |
SKWASM_EXPORT void | fontCollection_dispose (FlutterFontCollection *collection) |
static sk_sp< SkFontMgr > | default_fontmgr () |
SKWASM_EXPORT SkTypeface * | typeface_create (SkData *fontData) |
SKWASM_EXPORT void | typeface_dispose (SkTypeface *typeface) |
SKWASM_EXPORT int | typefaces_filterCoveredCodePoints (SkTypeface **typefaces, int typefaceCount, SkUnichar *codePoints, int codePointCount) |
SKWASM_EXPORT void | fontCollection_registerTypeface (FlutterFontCollection *collection, SkTypeface *typeface, SkString *fontName) |
SKWASM_EXPORT void | fontCollection_clearCaches (FlutterFontCollection *collection) |
Definition at line 32 of file fonts.cpp.
SKWASM_EXPORT void fontCollection_clearCaches | ( | FlutterFontCollection * | collection | ) |
SKWASM_EXPORT FlutterFontCollection * fontCollection_create | ( | ) |
Definition at line 17 of file fonts.cpp.
SKWASM_EXPORT void fontCollection_dispose | ( | FlutterFontCollection * | collection | ) |
SKWASM_EXPORT void fontCollection_registerTypeface | ( | FlutterFontCollection * | collection, |
SkTypeface * | typeface, | ||
SkString * | fontName | ||
) |
Definition at line 79 of file fonts.cpp.
SKWASM_EXPORT SkTypeface * typeface_create | ( | SkData * | fontData | ) |
Definition at line 37 of file fonts.cpp.
SKWASM_EXPORT void typeface_dispose | ( | SkTypeface * | typeface | ) |
SKWASM_EXPORT int typefaces_filterCoveredCodePoints | ( | SkTypeface ** | typefaces, |
int | typefaceCount, | ||
SkUnichar * | codePoints, | ||
int | codePointCount | ||
) |
Definition at line 49 of file fonts.cpp.