Flutter Engine
The Flutter Engine
third_party
skia
include
ports
SkFontMgr_mac_ct.h
Go to the documentation of this file.
1
/*
2
* Copyright 2017 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_mac_ct_DEFINED
9
#define SkFontMgr_mac_ct_DEFINED
10
11
#include "
include/core/SkRefCnt.h
"
12
#include "
include/core/SkTypes.h
"
13
14
#ifdef SK_BUILD_FOR_MAC
15
#import <ApplicationServices/ApplicationServices.h>
16
#endif
17
18
#ifdef SK_BUILD_FOR_IOS
19
#include <CoreText/CoreText.h>
20
#endif
21
22
class
SkFontMgr
;
23
24
/** Create a font manager for CoreText. If the collection is nullptr the system default will be used. */
25
SK_API
extern
sk_sp<SkFontMgr>
SkFontMgr_New_CoreText
(CTFontCollectionRef);
26
27
#endif
// SkFontMgr_mac_ct_DEFINED
SK_API
#define SK_API
Definition:
SkAPI.h:35
SkFontMgr_New_CoreText
SK_API sk_sp< SkFontMgr > SkFontMgr_New_CoreText(CTFontCollectionRef)
SkRefCnt.h
SkTypes.h
SkFontMgr
Definition:
SkFontMgr.h:36
sk_sp< SkFontMgr >
Generated on Sun Jun 23 2024 21:56:03 for Flutter Engine by
1.9.4