struct mrpt::viz::TFontParams

Overview

A description of a bitmapped or vectorized text font.

(Vectorized fonts are recommended for new code).

See also:

mrpt::viz::gl_utils::glSetFont(), mrpt::viz::gl_utils::glDrawText()

#include <mrpt/viz/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};

    // construction

    TFontParams();
};

// direct descendants

struct T2DTextData;