SkFontMgr_FontConfigInterface.h 553 B

1234567891011121314151617181920
  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. #ifndef SkFontMgr_FontConfigInterface_DEFINED
  8. #define SkFontMgr_FontConfigInterface_DEFINED
  9. #include "include/core/SkRefCnt.h"
  10. #include "include/core/SkTypes.h"
  11. class SkFontMgr;
  12. class SkFontConfigInterface;
  13. /** Creates a SkFontMgr which wraps a SkFontConfigInterface. */
  14. SK_API sk_sp<SkFontMgr> SkFontMgr_New_FCI(sk_sp<SkFontConfigInterface> fci);
  15. #endif // #ifndef SkFontMgr_FontConfigInterface_DEFINED