#include <sio2_font.h>

Public Attributes | |
| char | name [SIO2_MAX_CHAR] |
| The name of the SIO2font. | |
| unsigned int | vbo |
| The OpenGL VBO ID of the SIO2font. | |
| unsigned int | boffset |
| The buffer offset in bytes used for the texture coordinates. | |
| unsigned char | n_char |
| The number of characters per row used to build the SIO2font. | |
| unsigned char | c_offset |
| The first ASCII value that should offset all the rest of the characters. | |
| float | size |
| The width and height of every cell in pixels. | |
| float | space |
| The number of space in pixels used to print characters on screen. | |
| float | line |
| Store the number of line returns that was used when the SIO2font is printed on screen. | |
| SIO2material * | _SIO2material |
| The SIO2material used to draw the font. | |
| SIO2transform | _SIO2transform |
| The transformation information of the SIO2font pivot point. | |
| char SIO2font::name[SIO2_MAX_CHAR] |
| unsigned int SIO2font::vbo |
The OpenGL VBO ID of the SIO2font.
Referenced by sio2FontBuild(), sio2FontFree(), and sio2FontPrint().
| unsigned int SIO2font::boffset |
The buffer offset in bytes used for the texture coordinates.
Referenced by sio2FontBuild(), and sio2FontPrint().
| unsigned char SIO2font::n_char |
The number of characters per row used to build the SIO2font.
Referenced by sio2FontBuild(), and sio2FontCreate().
| unsigned char SIO2font::c_offset |
The first ASCII value that should offset all the rest of the characters.
Referenced by sio2FontCreate(), and sio2FontPrint().
| float SIO2font::size |
The width and height of every cell in pixels.
Referenced by sio2FontBuild(), sio2FontCreate(), and sio2FontPrint().
| float SIO2font::space |
The number of space in pixels used to print characters on screen.
Referenced by sio2FontCreate(), sio2FontGetHalfPxWidth(), sio2FontGetPxWidth(), and sio2FontPrint().
| float SIO2font::line |
Store the number of line returns that was used when the SIO2font is printed on screen.
Referenced by sio2FontPrint().
The SIO2material used to draw the font.
Please take note that this SIO2material should contain the font texture in the first texture channel.
Referenced by sio2FontBuild(), sio2FontCreate(), and sio2FontPrint().
The transformation information of the SIO2font pivot point.
Please take note that each SIO2font cell is a centered square, so the bottom left of the font should always been offset by half the height of the cell in order to get a precise coordinate on screen.
Referenced by sio2FontInit(), and sio2FontPrint().
1.5.6