UGDK  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
functions.h
Go to the documentation of this file.
1 #ifndef UGDK_TEXT_FUNCTIONS_H_
2 #define UGDK_TEXT_FUNCTIONS_H_
3 
4 #include <ugdk/text.h>
5 #include <ugdk/graphic.h>
7 #include <string>
8 
9 namespace ugdk {
10 namespace text {
11 
12 float FillBufferWithText(const Font*, const std::u32string&, graphic::VertexData::Mapper& mapped_data, float y = 0.0f);
13 
14 void DrawTextLine(graphic::Canvas& canvas, const Font*, const std::string& utf8_message);
15 
16 } // namespace text
17 } // namespace ugdk
18 
19 #endif // UGDK_TEXT_FUNCTIONS_H_
Definition: animation.h:11
float FillBufferWithText(const Font *, const std::u32string &, graphic::VertexData::Mapper &mapped_data, float y=0.0f)
void DrawTextLine(graphic::Canvas &canvas, const Font *, const std::string &utf8_message)