| 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 "flutter/fml/macros.h"
9 #include "impeller/typographer/backends/stb/typeface_stb.h"
10 #include "impeller/typographer/text_frame.h"
11
12 namespace impeller {
13
14 std::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_
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: aiks_blur_unittests.cc:20