summaryrefslogtreecommitdiffstats
path: root/gfx/skia/skia/include/ports/SkFontMgr_directory.h
blob: b1a60fb4dac1517c61e81804f302ba102b70d0b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * 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_directory_DEFINED
#define SkFontMgr_directory_DEFINED

#include "include/core/SkRefCnt.h"
#include "include/core/SkTypes.h"

class SkFontMgr;

/** Create a custom font manager which scans a given directory for font files.
 *  This font manager uses FreeType for rendering.
 */
SK_API sk_sp<SkFontMgr> SkFontMgr_New_Custom_Directory(const char* dir);

#endif // SkFontMgr_directory_DEFINED