blob: 8f79a7f5605d95bc92a6b096ecd6e37fe87c5d98 [file] [log] [blame]
Ben Wagner8ab590f2017-02-08 17:29:33 -05001/*
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_directory_DEFINED
9#define SkFontMgr_directory_DEFINED
10
11#include "SkRefCnt.h"
12#include "SkTypes.h"
13
14class SkFontMgr;
15
16/** Create a custom font manager which scans a given directory for font files.
17 * This font manager uses FreeType for rendering.
18 */
19SK_API sk_sp<SkFontMgr> SkFontMgr_New_Custom_Directory(const char* dir);
20
21#endif // SkFontMgr_directory_DEFINED