Flutter Engine
The Flutter Engine
Functions
SkFontMgr_empty.h File Reference
#include "include/core/SkRefCnt.h"
#include "include/core/SkTypes.h"

Go to the source code of this file.

Functions

SK_API sk_sp< SkFontMgrSkFontMgr_New_Custom_Empty ()
 

Function Documentation

◆ SkFontMgr_New_Custom_Empty()

SK_API sk_sp< SkFontMgr > SkFontMgr_New_Custom_Empty ( )

Create a custom font manager that contains no built-in fonts. This font manager uses FreeType for rendering.

Definition at line 27 of file SkFontMgr_custom_empty.cpp.

27 {
28 return sk_make_sp<SkFontMgr_Custom>(EmptyFontLoader());
29}