Flutter Engine
The Flutter Engine
third_party
skia
tools
fonts
TestFontMgr.h
Go to the documentation of this file.
1
/*
2
* Copyright 2017 Google Inc.
3
*
4
* Use of this source code is governed by a BSD-style license that can be
5
* found in the LICENSE file.
6
*/
7
8
#ifndef TestFontMgr_DEFINED
9
#define TestFontMgr_DEFINED
10
11
#include "
include/core/SkFontMgr.h
"
12
13
// An SkFontMgr that always uses ToolUtils::CreatePortableTypeface().
14
15
namespace
ToolUtils
{
16
sk_sp<SkFontMgr>
MakePortableFontMgr
();
17
}
// namespace ToolUtils
18
19
#endif
// TestFontMgr_DEFINED
SkFontMgr.h
sk_sp< SkFontMgr >
ToolUtils
Definition:
DecodeUtils.cpp:20
ToolUtils::MakePortableFontMgr
sk_sp< SkFontMgr > MakePortableFontMgr()
Definition:
TestFontMgr.cpp:175
Generated on Sun Jun 23 2024 21:56:50 for Flutter Engine by
1.9.4