Flutter Engine
The Flutter Engine
SkFontMgr_fontconfig.h
Go to the documentation of this file.
1/*
2 * Copyright 2015 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_fontconfig_DEFINED
9#define SkFontMgr_fontconfig_DEFINED
10
12#include <fontconfig/fontconfig.h>
13
14class SkFontMgr;
15
16/** Create a font manager around a FontConfig instance.
17 * If 'fc' is NULL, will use a new default config.
18 * Takes ownership of 'fc' and will call FcConfigDestroy on it.
19 */
21
22#endif // #ifndef SkFontMgr_fontconfig_DEFINED
#define SK_API
Definition: SkAPI.h:35
SK_API sk_sp< SkFontMgr > SkFontMgr_New_FontConfig(FcConfig *fc)