| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #ifndef SkFontMgr_custom_DEFINED | 8 #ifndef SkFontMgr_custom_DEFINED |
| 9 #define SkFontMgr_custom_DEFINED | 9 #define SkFontMgr_custom_DEFINED |
| 10 | 10 |
| 11 #include "SkTypes.h" | 11 #include "SkTypes.h" |
| 12 | 12 |
| 13 class SkFontMgr; | 13 class SkFontMgr; |
| 14 | 14 |
| 15 /** Create a custom font manager which scans a given directory for font files. *
/ | 15 /** Create a custom font manager which scans a given directory for font files. *
/ |
| 16 SK_API SkFontMgr* SkFontMgr_New_Custom_Directory(const char* dir); | 16 SK_API SkFontMgr* SkFontMgr_New_Custom_Directory(const char* dir); |
| 17 | 17 |
| 18 /** Create a custom font manager that contains no built-in fonts. */ |
| 19 SK_API SkFontMgr* SkFontMgr_New_Custom_Empty(); |
| 20 |
| 18 #endif // SkFontMgr_custom_DEFINED | 21 #endif // SkFontMgr_custom_DEFINED |
| OLD | NEW |