aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/ports/SkFontMgr_FontConfigInterface.h
blob: 9dccb7bed7a4ea12996124ab59afbf2e73c96948 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 sk_sp<SkFontMgr> SkFontMgr_New_FCI(sk_sp<SkFontConfigInterface> fci);

#endif // #ifndef SkFontMgr_FontConfigInterface_DEFINED