6b20a55996
Change-Id: Ice7d761b1023da77e50e5d6aa597964f7d9aa1d8 Reviewed-on: https://skia-review.googlesource.com/8302 Commit-Queue: Hal Canary <halcanary@google.com> Reviewed-by: Mike Reed <reed@google.com>
23 lines
585 B
C++
23 lines
585 B
C++
/*
|
|
* 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_fontconfig_DEFINED
|
|
#define SkFontMgr_fontconfig_DEFINED
|
|
|
|
#include "SkRefCnt.h"
|
|
#include <fontconfig/fontconfig.h>
|
|
|
|
class SkFontMgr;
|
|
|
|
/** Create a font manager around a FontConfig instance.
|
|
* If 'fc' is NULL, will use a new default config.
|
|
* Takes ownership of 'fc' and will call FcConfigDestroy on it.
|
|
*/
|
|
SK_API sk_sp<SkFontMgr> SkFontMgr_New_FontConfig(FcConfig* fc);
|
|
|
|
#endif // #ifndef SkFontMgr_fontconfig_DEFINED
|