Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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
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
22class SkFontMgr;
23
24/** Create a font manager for CoreText. If the collection is nullptr the system default will be used. */
26
27#endif // SkFontMgr_mac_ct_DEFINED
#define SK_API
Definition SkAPI.h:35
SK_API sk_sp< SkFontMgr > SkFontMgr_New_CoreText(CTFontCollectionRef)