bungeman | 1ae0e01 | 2016-09-19 12:13:16 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2016 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_FontConfigInterface_DEFINED |
| 9 | #define SkFontMgr_FontConfigInterface_DEFINED |
| 10 | |
| 11 | #include "SkTypes.h" |
| 12 | #include "SkRefCnt.h" |
| 13 | |
| 14 | class SkFontMgr; |
| 15 | class SkFontConfigInterface; |
| 16 | |
| 17 | /** Creates a SkFontMgr which wraps a SkFontConfigInterface. */ |
Ben Wagner | 3546ff1 | 2017-01-03 13:32:36 -0500 | [diff] [blame] | 18 | SK_API sk_sp<SkFontMgr> SkFontMgr_New_FCI(sk_sp<SkFontConfigInterface> fci); |
bungeman | 1ae0e01 | 2016-09-19 12:13:16 -0700 | [diff] [blame] | 19 | |
| 20 | #endif // #ifndef SkFontMgr_FontConfigInterface_DEFINED |