Public Member Functions | Public Attributes

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

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

Detailed Description

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


Constructor & Destructor Documentation

CL_FontPixelBuffer::CL_FontPixelBuffer (  )  [inline]

Member Data Documentation

The pixel buffer containing the glyph.

The rect containing the image inside "buffer".

True when the pixel buffer is empty.

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

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 documentation for this class was generated from the following file: