A description of a bitmapped or vectorized text font.
(Vectorized fonts are recommended for new code).
Definition at line 49 of file opengl_fonts.h.
#include <mrpt/opengl/opengl_fonts.h>
Public Member Functions | |
TFontParams () | |
Public Attributes | |
mrpt::img::TColorf | color |
bool | draw_shadow |
mrpt::img::TColorf | shadow_color |
|
inline |
Definition at line 51 of file opengl_fonts.h.
mrpt::img::TColorf mrpt::opengl::TFontParams::color |
Definition at line 62 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
bool mrpt::opengl::TFontParams::draw_shadow |
Definition at line 64 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
mrpt::opengl::TOpenGLFont mrpt::opengl::TFontParams::font |
Definition at line 69 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
mrpt::img::TColorf mrpt::opengl::TFontParams::shadow_color |
Definition at line 65 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
double mrpt::opengl::TFontParams::vfont_kerning |
(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().
std::string mrpt::opengl::TFontParams::vfont_name |
Vectorized font name ("sans","mono","serif")
Definition at line 76 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
double mrpt::opengl::TFontParams::vfont_scale |
Size of characters.
Definition at line 78 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
double mrpt::opengl::TFontParams::vfont_spacing |
(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().
TOpenGLFontStyle mrpt::opengl::TFontParams::vfont_style |
(default: NICE) See TOpenGLFontStyle.
Definition at line 80 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST |