diff options
Diffstat (limited to 'include/ports/SkFontMgr_FontConfigInterface.h')
-rw-r--r-- | include/ports/SkFontMgr_FontConfigInterface.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/ports/SkFontMgr_FontConfigInterface.h b/include/ports/SkFontMgr_FontConfigInterface.h new file mode 100644 index 0000000000..356e54c87d --- /dev/null +++ b/include/ports/SkFontMgr_FontConfigInterface.h @@ -0,0 +1,20 @@ +/* + * Copyright 2016 Google Inc. + * + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +#ifndef SkFontMgr_FontConfigInterface_DEFINED +#define SkFontMgr_FontConfigInterface_DEFINED + +#include "SkTypes.h" +#include "SkRefCnt.h" + +class SkFontMgr; +class SkFontConfigInterface; + +/** Creates a SkFontMgr which wraps a SkFontConfigInterface. */ +SK_API SkFontMgr* SkFontMgr_New_FCI(sk_sp<SkFontConfigInterface> fci); + +#endif // #ifndef SkFontMgr_FontConfigInterface_DEFINED |