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 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
 

Public Attributes

Point * vertices
 
Index * triangles
 
Index * outlines
 
Char * characters
 
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

◆ 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.18 for MRPT 2.0.4 at Thu Sep 24 07:14:18 UTC 2020