CPP-TOOLBOX
Loading...
Searching...
No Matches
grid_font.hpp
Go to the documentation of this file.
1#ifndef GRID_FONT_HPP
2#define GRID_FONT_HPP
3
5
6namespace grid_font {
7
9
10// TODO: in the future I need to add
11// TextJustification justification = TextJustification::Left as a parameter
13get_text_geometry(const std::string &text, vertex_geometry::Rectangle bounding_rect = vertex_geometry::Rectangle());
14
15} // namespace grid_font
16
17#endif // GRID_FONT_HPP
Definition draw_info.hpp:61
Definition vertex_geometry.hpp:126
Definition grid_font.cpp:5
draw_info::IndexedVertexPositions get_text_geometry(const std::string &text, vertex_geometry::Rectangle bounding_rect)
Definition grid_font.cpp:1342
TextJustification
Definition grid_font.hpp:8
@ Center
Definition grid_font.hpp:8
@ Right
Definition grid_font.hpp:8
@ Left
Definition grid_font.hpp:8