Flutter Engine
The Flutter Engine
Classes | Functions
SkFontMgr.cpp File Reference
#include "include/core/SkFontMgr.h"
#include "include/core/SkData.h"
#include "include/core/SkFontStyle.h"
#include "include/core/SkStream.h"
#include "include/core/SkTypeface.h"
#include "include/core/SkTypes.h"
#include <utility>

Go to the source code of this file.

Classes

class  SkEmptyFontStyleSet
 
class  SkEmptyFontMgr
 

Functions

static sk_sp< SkFontStyleSetemptyOnNull (sk_sp< SkFontStyleSet > &&fsset)
 

Function Documentation

◆ emptyOnNull()

static sk_sp< SkFontStyleSet > emptyOnNull ( sk_sp< SkFontStyleSet > &&  fsset)
static

Definition at line 86 of file SkFontMgr.cpp.

86 {
87 if (!fsset) {
89 }
90 return std::move(fsset);
91}
static sk_sp< SkFontStyleSet > CreateEmpty()
Definition: SkFontMgr.cpp:35