|
ClanLib
2.3.7
|
Font texture format (holds a pixel buffer containing a glyph) More...
#include <font_system.h>
Public Member Functions | |
| CL_Font_TextureGlyph () | |
Public Attributes | |
| bool | empty_buffer |
| True when the pixel buffer is empty. More... | |
| CL_Rect | geometry |
| Geometry of the glyph inside the subtexture (excluding the border) More... | |
| unsigned int | glyph |
| Glyph this pixel buffer refers to. More... | |
| CL_Point | increment |
| Increment to draw the next glyph. More... | |
| CL_Point | offset |
| Offset to draw the font to buffer. More... | |
| CL_Subtexture | subtexture |
| The pixel buffer containing the glyph. More... | |
Font texture format (holds a pixel buffer containing a glyph)
|
inline |
| bool CL_Font_TextureGlyph::empty_buffer |
True when the pixel buffer is empty.
| CL_Rect CL_Font_TextureGlyph::geometry |
Geometry of the glyph inside the subtexture (excluding the border)
| unsigned int CL_Font_TextureGlyph::glyph |
Glyph this pixel buffer refers to.
| CL_Point CL_Font_TextureGlyph::increment |
Increment to draw the next glyph.
For example: pos_x += pixelbuffer.increment.x; pos_y += pixelbuffer.increment.y;
| CL_Point CL_Font_TextureGlyph::offset |
Offset to draw the font to buffer.
For example: x = pos_x + pixelbuffer.offset.x y = pos_y + pixelbuffer.offset.y
| CL_Subtexture CL_Font_TextureGlyph::subtexture |
The pixel buffer containing the glyph.
1.8.4