aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/ports/SkFontMgr_empty.h
blob: dbeef586cb61ce7c1c8fc492a9334820830cac32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Copyright 2015 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef SkFontMgr_empty_DEFINED
#define SkFontMgr_empty_DEFINED

#include "SkRefCnt.h"
#include "SkTypes.h"

class SkFontMgr;

/** Create a custom font manager that contains no built-in fonts.
 *  This font manager uses FreeType for rendering.
 */
SK_API sk_sp<SkFontMgr> SkFontMgr_New_Custom_Empty();

#endif // SkFontMgr_empty_DEFINED