Represents a single font-character "glyph", that has been cached in-memory for fast retrieval.
More...
#include <FontCache.h>
|
| CachedGlyph (char c, std::array< GLfloat, 12 > texcoords, float x2o, float y2o, float w, float h, float advX, float advY) |
|
char | getCharacter () const |
|
std::array< GLfloat, 12 > | getTexCoords () const |
|
Represents a single font-character "glyph", that has been cached in-memory for fast retrieval.
◆ CachedGlyph()
CachedGlyph::CachedGlyph |
( |
char |
c, |
|
|
std::array< GLfloat, 12 > |
texcoords, |
|
|
float |
x2o, |
|
|
float |
y2o, |
|
|
float |
w, |
|
|
float |
h, |
|
|
float |
advX, |
|
|
float |
advY |
|
) |
| |
◆ getCharacter()
char CachedGlyph::getCharacter |
( |
| ) |
const |
◆ getTexCoords()
std::array< GLfloat, 12 > CachedGlyph::getTexCoords |
( |
| ) |
const |
◆ advanceX
float JGL::CachedGlyph::advanceX = 0 |
◆ advanceY
float JGL::CachedGlyph::advanceY = 0 |
int JGL::CachedGlyph::h = 0 |
int JGL::CachedGlyph::w = 0 |
◆ x2offset
int JGL::CachedGlyph::x2offset = 0 |
◆ y2offset
int JGL::CachedGlyph::y2offset = 0 |
The documentation for this class was generated from the following files: