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 67 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} |
std::string | vfont_name = "mono" |
Vectorized font name ("sans","mono","serif") More... | |
float | vfont_scale = 10.0f |
Size of characters [pixels]. More... | |
mrpt::img::TColorf | color = {1.0f, 1.0f, 1.0f, 1.0f} |
bool | draw_shadow = false |
mrpt::img::TColorf | shadow_color = {0.0f, 0.0f, 0.0f, 1.0f} |
TOpenGLFontStyle | vfont_style = opengl::FILL |
(default: FILL) 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 46 of file opengl_fonts.h.
Referenced by mrpt::opengl::COpenGLViewport::renderTextMessages().
|
inherited |
Definition at line 48 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::TListTextMessages::regenerateGLobjects().
|
inherited |
Definition at line 49 of file opengl_fonts.h.
Referenced by mrpt::opengl::COpenGLViewport::renderTextMessages().
std::string mrpt::opengl::T2DTextData::text |
Definition at line 70 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage(), and mrpt::opengl::COpenGLViewport::renderTextMessages().
|
inherited |
(default: 0.1) Refer to mrpt::opengl::gl_utils::glDrawText
Definition at line 58 of file opengl_fonts.h.
|
inherited |
Vectorized font name ("sans","mono","serif")
Definition at line 41 of file opengl_fonts.h.
Referenced by mrpt::opengl::COpenGLViewport::renderTextMessages().
|
inherited |
Size of characters [pixels].
Definition at line 44 of file opengl_fonts.h.
Referenced by mrpt::opengl::COpenGLViewport::renderTextMessages().
|
inherited |
(default: 1.5) Refer to mrpt::opengl::gl_utils::glDrawText
Definition at line 55 of file opengl_fonts.h.
|
inherited |
(default: FILL) See TOpenGLFontStyle.
Definition at line 52 of file opengl_fonts.h.
double mrpt::opengl::T2DTextData::x {0} |
Definition at line 71 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage(), and mrpt::opengl::COpenGLViewport::renderTextMessages().
double mrpt::opengl::T2DTextData::y {0} |
Definition at line 71 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage(), and mrpt::opengl::COpenGLViewport::renderTextMessages().
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: c7a3bec24 Sun Mar 29 18:33:13 2020 +0200 at dom mar 29 18:50:38 CEST 2020 |