struct mrpt::opengl::internal::Font

struct Font
{
    // typedefs

    typedef unsigned short Index;

    // structs

    struct Char;

    //
fields

    Point* vertices;
    Index* triangles;
    Index* outlines;
    Char* characters;
    string glyphs;

    //
methods

    const Char* findChar(const char c) const;
    float getAdvance(const char c) const;

    void fill(
        const char c,
        std::vector<mrpt::opengl::TTriangle>& tris,
        std::vector<mrpt::math::TPoint3Df>& lines,
        const mrpt::math::TPoint2Df& cursor
        ) const;

    void outline(
        const char c,
        std::vector<mrpt::opengl::TTriangle>& tris,
        std::vector<mrpt::math::TPoint3Df>& lines,
        const mrpt::math::TPoint2Df& cursor
        ) const;

    void draw(
        const char c,
        std::vector<mrpt::opengl::TTriangle>& tris,
        std::vector<mrpt::math::TPoint3Df>& lines,
        const mrpt::math::TPoint2Df& cursor
        ) const;
};