Flutter Engine
The Flutter Engine
text_frame_stb.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_IMPELLER_TYPOGRAPHER_BACKENDS_STB_TEXT_FRAME_STB_H_
6#define FLUTTER_IMPELLER_TYPOGRAPHER_BACKENDS_STB_TEXT_FRAME_STB_H_
7
10
11namespace impeller {
12
13std::shared_ptr<TextFrame> MakeTextFrameSTB(
14 const std::shared_ptr<TypefaceSTB>& typeface_stb,
15 Font::Metrics metrics,
16 const std::string& text);
17
18} // namespace impeller
19
20#endif // FLUTTER_IMPELLER_TYPOGRAPHER_BACKENDS_STB_TEXT_FRAME_STB_H_
std::u16string text
std::shared_ptr< TextFrame > MakeTextFrameSTB(const std::shared_ptr< TypefaceSTB > &typeface_stb, Font::Metrics metrics, const std::string &text)