CL_FontPixelBuffer Class Reference
[clanDisplay Font]

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

#include <font.h>

List of all members.

Public Member Functions

 CL_FontPixelBuffer ()

Public Attributes

unsigned int glyph
 Glyph this pixel buffer refers to. 0 = Glyph if not valid.
bool empty_buffer
 True when the pixel buffer is empty.
CL_PixelBuffer buffer
 The pixel buffer containing the glyph.
CL_Point offset
 Offset to draw the font to buffer.
CL_Point increment
 Increment to draw the next glyph.


Detailed Description

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


Constructor & Destructor Documentation

CL_FontPixelBuffer::CL_FontPixelBuffer  )  [inline]
 


Member Data Documentation

CL_PixelBuffer CL_FontPixelBuffer::buffer
 

The pixel buffer containing the glyph.

bool CL_FontPixelBuffer::empty_buffer
 

True when the pixel buffer is empty.

unsigned int CL_FontPixelBuffer::glyph
 

Glyph this pixel buffer refers to. 0 = Glyph if not valid.

CL_Point CL_FontPixelBuffer::increment
 

Increment to draw the next glyph.

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

CL_Point CL_FontPixelBuffer::offset
 

Offset to draw the font to buffer.

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


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