Flutter Engine
The 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"
13
14namespace txt {
15
16std::vector<std::string> GetDefaultFontFamilies();
17
18sk_sp<SkFontMgr> GetDefaultFontManager(uint32_t font_initialization_data = 0);
19
20} // namespace txt
21
22#endif // TXT_PLATFORM_H_
std::vector< std::string > GetDefaultFontFamilies()
Definition: platform.cc:13
sk_sp< SkFontMgr > GetDefaultFontManager(uint32_t font_initialization_data)
Definition: platform.cc:17