An auxiliary struct for holding a list of text messages in some mrpt::opengl & mrpt::gui classes The font can be either a bitmapped or a vectorized font.
Definition at line 100 of file opengl_fonts.h.
#include <mrpt/opengl/opengl_fonts.h>

Public Member Functions | |
| T2DTextData () | |
Public Attributes | |
| std::string | text |
| double | x |
| double | y |
| mrpt::utils::TColorf | color |
Bitmapped font params | |
| mrpt::opengl::TOpenGLFont | font |
Vectorized font params - Applicable only if font==MRPT_GLUT_BITMAP_NONE | |
| std::string | vfont_name |
| Vectorized font name ("sans","mono","serif") | |
| double | vfont_scale |
| Size of characters. | |
| TOpenGLFontStyle | vfont_style |
| (default: NICE) See TOpenGLFontStyle. | |
| double | vfont_spacing |
| (default: 1.5) Refer to mrpt::opengl::gl_utils::glDrawText | |
| double | vfont_kerning |
| (default: 0.1) Refer to mrpt::opengl::gl_utils::glDrawText | |
|
inline |
Definition at line 102 of file opengl_fonts.h.
|
inherited |
Definition at line 78 of file opengl_fonts.h.
|
inherited |
Definition at line 82 of file opengl_fonts.h.
| std::string mrpt::opengl::T2DTextData::text |
Definition at line 104 of file opengl_fonts.h.
|
inherited |
(default: 0.1) Refer to mrpt::opengl::gl_utils::glDrawText
Definition at line 91 of file opengl_fonts.h.
|
inherited |
Vectorized font name ("sans","mono","serif")
Definition at line 87 of file opengl_fonts.h.
|
inherited |
Size of characters.
Definition at line 88 of file opengl_fonts.h.
|
inherited |
(default: 1.5) Refer to mrpt::opengl::gl_utils::glDrawText
Definition at line 90 of file opengl_fonts.h.
|
inherited |
(default: NICE) See TOpenGLFontStyle.
Definition at line 89 of file opengl_fonts.h.
| double mrpt::opengl::T2DTextData::x |
Definition at line 105 of file opengl_fonts.h.
| double mrpt::opengl::T2DTextData::y |
Definition at line 105 of file opengl_fonts.h.
| Page generated by Doxygen 1.8.3 for MRPT 0.9.6 SVN: at Fri Feb 15 22:05:02 EST 2013 |