struct mrpt::opengl::TFontParamsΒΆ
A description of a bitmapped or vectorized text font.
(Vectorized fonts are recommended for new code).
See also:
mrpt::opengl::gl_utils::glSetFont(), mrpt::opengl::gl_utils::glDrawText()
#include <mrpt/opengl/opengl_fonts.h> struct TFontParams { // fields 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}; }; // direct descendants struct T2DTextData;