font Struct Reference
[Graphics driver]

Storage structure for font metadata. More...

#include <gfx.h>

Data Fields

enum font_data_type type
 Type of storage used for binary font data. See font_data_type.
uint8_t width
 Width of one font character, in pixles.
uint8_t height
 Height of one font character, in pixles.
uint8_t scale
 Number of times characters are scaled up when being drawn.
uint8_t first_char
 ASCII value of first character in font set.
uint8_t last_char
 ASCII value of last character in ont set.
hugemem_ptr_t hugemem

Detailed Description

Storage structure for font metadata.

Definition at line 214 of file gfx.h.


Field Documentation

ASCII value of first character in font set.

Definition at line 232 of file gfx.h.

Referenced by gfx_draw_char(), gfx_draw_char_hugemem(), and gfx_draw_char_progmem().

Pointer to where the binary font data is stored. This variable is accessed either through hugemem or progmem depending on the value of type.

Definition at line 222 of file gfx.h.

Referenced by gfx_draw_char_hugemem().

ASCII value of last character in ont set.

Definition at line 234 of file gfx.h.

Referenced by gfx_draw_char().

Type of storage used for binary font data. See font_data_type.

Definition at line 216 of file gfx.h.

Referenced by gfx_draw_char().


The documentation for this struct was generated from the following file:
Generated on Thu Apr 29 15:18:25 2010 for display-training by  doxygen 1.6.3