2015-06-15 22:17:21 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2015 Google Inc.
|
|
|
|
*
|
|
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
|
|
* found in the LICENSE file.
|
|
|
|
*/
|
|
|
|
|
2017-02-08 22:29:33 +00:00
|
|
|
#ifndef SkFontMgr_directory_DEFINED
|
|
|
|
#define SkFontMgr_directory_DEFINED
|
2015-06-15 22:17:21 +00:00
|
|
|
|
2017-02-08 22:29:33 +00:00
|
|
|
#include "SkRefCnt.h"
|
2015-06-15 22:17:21 +00:00
|
|
|
#include "SkTypes.h"
|
|
|
|
|
|
|
|
class SkFontMgr;
|
|
|
|
|
2017-02-08 22:29:33 +00:00
|
|
|
/** Create a custom font manager which scans a given directory for font files.
|
|
|
|
* This font manager uses FreeType for rendering.
|
|
|
|
*/
|
2017-01-03 18:32:36 +00:00
|
|
|
SK_API sk_sp<SkFontMgr> SkFontMgr_New_Custom_Directory(const char* dir);
|
2015-06-15 22:17:21 +00:00
|
|
|
|
2017-02-08 22:29:33 +00:00
|
|
|
#endif // SkFontMgr_directory_DEFINED
|