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
4
#include "
sbpt_generated_includes.hpp
"
5
6
namespace
grid_font
{
7
8
enum class
TextJustification
{
Left
,
Center
,
Right
};
9
10
// TODO: in the future I need to add
11
// TextJustification justification = TextJustification::Left as a parameter
12
draw_info::IndexedVertexPositions
13
get_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
draw_info::IndexedVertexPositions
Definition
draw_info.hpp:61
vertex_geometry::Rectangle
Definition
vertex_geometry.hpp:126
grid_font
Definition
grid_font.cpp:5
grid_font::get_text_geometry
draw_info::IndexedVertexPositions get_text_geometry(const std::string &text, vertex_geometry::Rectangle bounding_rect)
Definition
grid_font.cpp:1342
grid_font::TextJustification
TextJustification
Definition
grid_font.hpp:8
grid_font::TextJustification::Center
@ Center
Definition
grid_font.hpp:8
grid_font::TextJustification::Right
@ Right
Definition
grid_font.hpp:8
grid_font::TextJustification::Left
@ Left
Definition
grid_font.hpp:8
sbpt_generated_includes.hpp
src
graphics
grid_font
grid_font.hpp
Generated by
1.13.2