MMSFBFont_Glyph Struct Reference

descibes a loaded glyph More...

#include <mmsfbfont.h>

List of all members.


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.

Detailed Description

descibes a loaded glyph

Definition at line 44 of file mmsfbfont.h.


Member Data Documentation

character code

Definition at line 46 of file mmsfbfont.h.

unsigned char* MMSFBFont_Glyph::buffer

pointer to bitmap data

Definition at line 48 of file mmsfbfont.h.

pitch in byte of one row in the bitmap buffer

Definition at line 50 of file mmsfbfont.h.

x-offset

Definition at line 52 of file mmsfbfont.h.

y-offset

Definition at line 54 of file mmsfbfont.h.

width in pixel of the glyph

Definition at line 56 of file mmsfbfont.h.

height in pixel of the glyph

Definition at line 58 of file mmsfbfont.h.

width in pixel of the whole character

Definition at line 60 of file mmsfbfont.h.

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.


The documentation for this struct was generated from the following file: