Flutter Engine
test_font_data.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 FLUTTER_RUNTIME_TEST_FONT_DATA_H_
6 #define FLUTTER_RUNTIME_TEST_FONT_DATA_H_
7 
8 #include <memory>
9 #include <string>
10 #include <vector>
11 
12 #include "third_party/skia/include/core/SkStream.h"
13 
14 namespace flutter {
15 
16 std::vector<std::unique_ptr<SkStreamAsset>> GetTestFontData();
17 std::string GetTestFontFamilyName();
18 std::vector<std::string> GetTestFontFamilyNames();
19 
20 } // namespace flutter
21 
22 #endif // FLUTTER_RUNTIME_TEST_FONT_DATA_H_
std::vector< std::unique_ptr< SkStreamAsset > > GetTestFontData()
std::vector< std::string > GetTestFontFamilyNames()
std::string GetTestFontFamilyName()