Debian Codegraph @

include/ports/SkTypeface_fontations.h

raw
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
8 #ifndef SkTypeface_fontations_DEFINED
9 #define SkTypeface_fontations_DEFINED
10
11 #include "include/core/SkFontArguments.h"
12 #include "include/core/SkRefCnt.h"
13 #include "include/core/SkTypeface.h"
14 #include "include/core/SkTypes.h"
15
16 #include <memory>
17
18 SK_API sk_sp<SkTypeface> SkTypeface_Make_Fontations(std::unique_ptr<SkStreamAsset> fontData,
19 const SkFontArguments& args);
20
21 SK_API sk_sp<SkTypeface> SkTypeface_Make_Fontations(sk_sp<const SkData> fontData,
22 const SkFontArguments& args);
23
24 #endif