Flutter Engine
The Flutter Engine
SkFontMgr_data.h
Go to the documentation of this file.
1/*
2 * Copyright 2023 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#ifndef SkFontMgr_data_DEFINED
8#define SkFontMgr_data_DEFINED
9
10#include "include/core/SkData.h"
12#include "include/core/SkSpan.h"
14
15class SkFontMgr;
16
17/** Create a custom font manager which wraps a collection of SkData-stored fonts.
18 * This font manager uses FreeType for rendering.
19 */
21
22#endif // SkFontMgr_data_DEFINED
#define SK_API
Definition: SkAPI.h:35
SK_API sk_sp< SkFontMgr > SkFontMgr_New_Custom_Data(SkSpan< sk_sp< SkData > >)