A description of a bitmapped or vectorized text font.
(Vectorized fonts are recommended for new code).
Definition at line 48 of file opengl_fonts.h.
#include <mrpt/opengl/opengl_fonts.h>

Public Member Functions | |
| TFontParams () | |
Public Attributes | |
| 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 50 of file opengl_fonts.h.
| mrpt::utils::TColorf mrpt::opengl::TFontParams::color | 
Definition at line 61 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
| bool mrpt::opengl::TFontParams::draw_shadow | 
Definition at line 63 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
| mrpt::opengl::TOpenGLFont mrpt::opengl::TFontParams::font | 
Definition at line 68 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
| mrpt::utils::TColorf mrpt::opengl::TFontParams::shadow_color | 
Definition at line 64 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 77 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 73 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
| double mrpt::opengl::TFontParams::vfont_scale | 
Size of characters.
Definition at line 74 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 76 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
| TOpenGLFontStyle mrpt::opengl::TFontParams::vfont_style | 
(default: NICE) See TOpenGLFontStyle.
Definition at line 75 of file opengl_fonts.h.
Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().
| Page generated by Doxygen 1.8.14 for MRPT 1.5.5 Git: e06b63dbf Fri Dec 1 14:41:11 2017 +0100 at lun oct 28 01:31:35 CET 2019 |