MRPT  2.0.4
List of all members | Classes | Public Types | Public Member Functions | Public Attributes
mrpt::opengl::internal::Font Struct Reference

Detailed Description

Definition at line 32 of file gltext.cpp.

Classes

struct  Char
 

Public Types

typedef unsigned short Index
 

Public Member Functions

const CharfindChar (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
 

Public Attributes

Pointvertices
 
Indextriangles
 
Indexoutlines
 
Charcharacters
 
string glyphs
 

Member Typedef Documentation

◆ Index

typedef unsigned short mrpt::opengl::internal::Font::Index

Definition at line 34 of file gltext.cpp.

Member Function Documentation

◆ draw()

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

Definition at line 111 of file gltext.cpp.

◆ fill()

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

◆ findChar()

const Char* mrpt::opengl::internal::Font::findChar ( const char  c) const
inline

Definition at line 52 of file gltext.cpp.

Referenced by mrpt::opengl::internal::glDrawText(), and mrpt::opengl::internal::glGetExtends().

Here is the caller graph for this function:

◆ getAdvance()

float mrpt::opengl::internal::Font::getAdvance ( const char  c) const
inline

Definition at line 59 of file gltext.cpp.

References mrpt::opengl::internal::Font::Char::advance.

◆ outline()

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

Member Data Documentation

◆ characters

Char* mrpt::opengl::internal::Font::characters

Definition at line 49 of file gltext.cpp.

◆ glyphs

string mrpt::opengl::internal::Font::glyphs

Definition at line 50 of file gltext.cpp.

◆ outlines

Index* mrpt::opengl::internal::Font::outlines

Definition at line 48 of file gltext.cpp.

◆ triangles

Index* mrpt::opengl::internal::Font::triangles

Definition at line 47 of file gltext.cpp.

◆ vertices

Point* mrpt::opengl::internal::Font::vertices

Definition at line 46 of file gltext.cpp.




Page generated by Doxygen 1.8.14 for MRPT 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020