| Flutter Impeller |

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 "impeller/typographer/backends/stb/typeface_stb.h"
9 #include "impeller/typographer/text_frame.h"
10
11 namespace impeller {
12
13 std::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_
typeface_stb.h
impeller::MakeTextFrameSTB
std::shared_ptr< TextFrame > MakeTextFrameSTB(const std::shared_ptr< TypefaceSTB > &typeface_stb, Font::Metrics metrics, const std::string &text)
Definition: text_frame_stb.cc:11
text_frame.h
impeller
Definition: allocation.cc:12