#include <mmsfbfont.h>
Public Attributes | |
| unsigned int | character |
| character code | |
| unsigned char * | buffer |
| pointer to bitmap data | |
| int | pitch |
| pitch in byte of one row in the bitmap buffer | |
| int | left |
| x-offset | |
| int | top |
| y-offset | |
| int | width |
| width in pixel of the glyph | |
| int | height |
| height in pixel of the glyph | |
| int | advanceX |
| width in pixel of the whole character | |
| GLuint | texture |
| OpenGL texture for this glyph, we use bitmaps from freetype note: text rendering based on textures needs a lot of memory and is not the fastest way. | |
Definition at line 44 of file mmsfbfont.h.
| unsigned int MMSFBFont_Glyph::character |
| unsigned char* MMSFBFont_Glyph::buffer |
| GLuint MMSFBFont_Glyph::texture |
OpenGL texture for this glyph, we use bitmaps from freetype note: text rendering based on textures needs a lot of memory and is not the fastest way.
Definition at line 65 of file mmsfbfont.h.