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 94 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 |
bool | draw_shadow |
mrpt::utils::TColorf | shadow_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") More... | |
double | vfont_scale |
Size of characters. More... | |
TOpenGLFontStyle | vfont_style |
(default: NICE) See TOpenGLFontStyle. More... | |
double | vfont_spacing |
(default: 1.5) Refer to mrpt::opengl::gl_utils::glDrawText More... | |
double | vfont_kerning |
(default: 0.1) Refer to mrpt::opengl::gl_utils::glDrawText More... | |
|
inline |
Definition at line 96 of file opengl_fonts.h.
|
inherited |
Definition at line 62 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
|
inherited |
Definition at line 64 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
|
inherited |
Definition at line 69 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
|
inherited |
Definition at line 65 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
std::string mrpt::opengl::T2DTextData::text |
Definition at line 97 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
|
inherited |
(default: 0.1) Refer to mrpt::opengl::gl_utils::glDrawText
Definition at line 84 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
|
inherited |
Vectorized font name ("sans","mono","serif")
Definition at line 76 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
|
inherited |
Size of characters.
Definition at line 78 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
|
inherited |
(default: 1.5) Refer to mrpt::opengl::gl_utils::glDrawText
Definition at line 82 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
|
inherited |
(default: NICE) See TOpenGLFontStyle.
Definition at line 80 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
double mrpt::opengl::T2DTextData::x |
Definition at line 98 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
double mrpt::opengl::T2DTextData::y |
Definition at line 98 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019 |