Flutter Engine
platform.h
Go to the documentation of this file.
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef TXT_PLATFORM_H_
6 #define TXT_PLATFORM_H_
7 
8 #include <string>
9 #include <vector>
10 
11 #include "flutter/fml/macros.h"
12 #include "third_party/skia/include/core/SkFontMgr.h"
13 
14 namespace txt {
15 
16 std::vector<std::string> GetDefaultFontFamilies();
17 
18 sk_sp<SkFontMgr> GetDefaultFontManager();
19 
20 } // namespace txt
21 
22 #endif // TXT_PLATFORM_H_
sk_sp< SkFontMgr > GetDefaultFontManager()
Definition: platform.cc:13
std::vector< std::string > GetDefaultFontFamilies()
Definition: platform.cc:9