Debian Codegraph @

tools/fonts/TestFontMgr.h

raw
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