MRPT
1.9.9
|
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 81 of file opengl_fonts.h.
#include <mrpt/opengl/opengl_fonts.h>
Public Member Functions | |
T2DTextData ()=default | |
Public Attributes | |
std::string | text |
double | x {0} |
double | y {0} |
mrpt::img::TColorf | color |
bool | draw_shadow {false} |
mrpt::img::TColorf | shadow_color |
Bitmapped font params | |
mrpt::opengl::TOpenGLFont | font {MRPT_GLUT_BITMAP_NONE} |
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 {10} |
Size of characters. More... | |
TOpenGLFontStyle | vfont_style {} |
(default: NICE) See TOpenGLFontStyle. More... | |
double | vfont_spacing {1.5} |
(default: 1.5) Refer to mrpt::opengl::gl_utils::glDrawText More... | |
double | vfont_kerning {0.1} |
(default: 0.1) Refer to mrpt::opengl::gl_utils::glDrawText More... | |
|
default |
|
inherited |
Definition at line 49 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
|
inherited |
Definition at line 51 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
|
inherited |
Definition at line 56 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
|
inherited |
Definition at line 52 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
std::string mrpt::opengl::T2DTextData::text |
Definition at line 84 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage(), and mrpt::opengl::CTextMessageCapable::updateTextMessage().
|
inherited |
(default: 0.1) Refer to mrpt::opengl::gl_utils::glDrawText
Definition at line 71 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
|
inherited |
Vectorized font name ("sans","mono","serif")
Definition at line 63 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
|
inherited |
Size of characters.
Definition at line 65 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 69 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
|
inherited |
(default: NICE) See TOpenGLFontStyle.
Definition at line 67 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
double mrpt::opengl::T2DTextData::x {0} |
Definition at line 85 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
double mrpt::opengl::T2DTextData::y {0} |
Definition at line 85 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019 |