Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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
8#include "flutter/fml/macros.h"
11
12namespace impeller {
13
14std::shared_ptr<TextFrame> MakeTextFrameSTB(
15 const std::shared_ptr<TypefaceSTB>& typeface_stb,
16 Font::Metrics metrics,
17 const std::string& text);
18
19} // namespace impeller
20
21#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)