| 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 #pragma once
6
7 #include "flutter/fml/macros.h"
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
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_context.cc:10