Flutter Engine
The Flutter Engine
Functions
SkFontMgr_FontConfigInterface.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_FCI (sk_sp< SkFontConfigInterface > fci)
 

Function Documentation

◆ SkFontMgr_New_FCI()

SK_API sk_sp< SkFontMgr > SkFontMgr_New_FCI ( sk_sp< SkFontConfigInterface fci)

Creates a SkFontMgr which wraps a SkFontConfigInterface.

Definition at line 256 of file SkFontMgr_FontConfigInterface.cpp.

256 {
257 SkASSERT(fci);
258 return sk_make_sp<SkFontMgr_FCI>(std::move(fci));
259}
#define SkASSERT(cond)
Definition: SkAssert.h:116