Ben Wagner | 8ab590f | 2017-02-08 17:29:33 -0500 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2015 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 SkFontMgr_empty_DEFINED |
| 9 | #define SkFontMgr_empty_DEFINED |
| 10 | |
| 11 | #include "SkRefCnt.h" |
| 12 | #include "SkTypes.h" |
| 13 | |
| 14 | class SkFontMgr; |
| 15 | |
| 16 | /** Create a custom font manager that contains no built-in fonts. |
| 17 | * This font manager uses FreeType for rendering. |
| 18 | */ |
| 19 | SK_API sk_sp<SkFontMgr> SkFontMgr_New_Custom_Empty(); |
| 20 | |
| 21 | #endif // SkFontMgr_empty_DEFINED |