/* * 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_android_DEFINED #define SkFontMgr_android_DEFINED #include "include/core/SkRefCnt.h" class SkFontMgr; class SkFontScanner; struct SkFontMgr_Android_CustomFonts { … }; /** Create a font manager for Android. If 'custom' is NULL, use only system fonts. */ // Deprecated SK_API sk_sp<SkFontMgr> SkFontMgr_New_Android(const SkFontMgr_Android_CustomFonts* custom); SK_API sk_sp<SkFontMgr> SkFontMgr_New_Android(const SkFontMgr_Android_CustomFonts* custom, std::unique_ptr<SkFontScanner> scanner); #endif // SkFontMgr_android_DEFINED