Public Member Functions | Public Attributes

CL_Font_TextureGlyph Class Reference
[clanDisplay Font]

Font texture format (holds a pixel buffer containing a glyph). More...

#include <font_system.h>

List of all members.

Public Member Functions

 CL_Font_TextureGlyph ()

Public Attributes

bool empty_buffer
 True when the pixel buffer is empty.
CL_Rect geometry
 Geometry of the glyph inside the subtexture (excluding the border).
unsigned int glyph
 Glyph this pixel buffer refers to.
CL_Point increment
 Increment to draw the next glyph.
CL_Point offset
 Offset to draw the font to buffer.
CL_Subtexture subtexture
 The pixel buffer containing the glyph.

Detailed Description

Font texture format (holds a pixel buffer containing a glyph).


Constructor & Destructor Documentation

CL_Font_TextureGlyph::CL_Font_TextureGlyph (  )  [inline]

Member Data Documentation

True when the pixel buffer is empty.

Geometry of the glyph inside the subtexture (excluding the border).

Glyph this pixel buffer refers to.

Increment to draw the next glyph.

For example: pos_x += pixelbuffer.increment.x; pos_y += pixelbuffer.increment.y;

Offset to draw the font to buffer.

For example: x = pos_x + pixelbuffer.offset.x y = pos_y + pixelbuffer.offset.y

The pixel buffer containing the glyph.


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