Flutter Engine
The Flutter Engine
Functions
SkFontMgr_fontconfig.h File Reference
#include "include/core/SkRefCnt.h"
#include <fontconfig/fontconfig.h>

Go to the source code of this file.

Functions

SK_API sk_sp< SkFontMgrSkFontMgr_New_FontConfig (FcConfig *fc)
 

Function Documentation

◆ SkFontMgr_New_FontConfig()

SK_API sk_sp< SkFontMgr > SkFontMgr_New_FontConfig ( FcConfig *  fc)

Create a font manager around a FontConfig instance. If 'fc' is NULL, will use a new default config. Takes ownership of 'fc' and will call FcConfigDestroy on it.

Definition at line 970 of file SkFontMgr_fontconfig.cpp.

970 {
971 return sk_make_sp<SkFontMgr_fontconfig>(fc);
972}