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

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

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.


The documentation for this class was generated from the following file:
Generated on Thu Dec 3 02:39:36 2009 for ClanLib by  doxygen 1.4.6