ClanLib
2.3.7
|
Font pixel buffer format (holds a pixel buffer containing a glyph) More...
#include <font.h>
Public Member Functions | |
CL_FontPixelBuffer () | |
Public Attributes | |
CL_PixelBuffer | buffer |
The pixel buffer containing the glyph. More... | |
CL_Rect | buffer_rect |
The rect containing the image inside "buffer". More... | |
bool | empty_buffer |
True when the pixel buffer is empty. More... | |
unsigned int | glyph |
Glyph this pixel buffer refers to. 0 = Glyph if not valid. More... | |
CL_Point | increment |
Increment to draw the next glyph. More... | |
CL_Point | offset |
Offset to draw the font to buffer. More... | |
Font pixel buffer format (holds a pixel buffer containing a glyph)
|
inline |
CL_PixelBuffer CL_FontPixelBuffer::buffer |
The pixel buffer containing the glyph.
CL_Rect CL_FontPixelBuffer::buffer_rect |
The rect containing the image inside "buffer".
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