Storage structure for font meta data.
#include <gfx_mono_text.h>
Data Fields | |
union { | |
uint8_t PROGMEM_PTR_T progmem | |
Pointer to where the binary font data is stored. More... | |
} | data |
uint8_t | first_char |
ASCII value of first character in font set. More... | |
uint8_t | height |
Height of one font character, in pixels. More... | |
uint8_t | last_char |
ASCII value of last character in the set. More... | |
enum font_data_type | type |
Type of storage used for binary font data. More... | |
uint8_t | width |
Width of one font character, in pixels. More... | |
union { ... } font::data |
Referenced by gfx_mono_draw_char_hugemem(), and gfx_mono_draw_char_progmem().
uint8_t font::first_char |
ASCII value of first character in font set.
Referenced by gfx_mono_draw_char_hugemem(), and gfx_mono_draw_char_progmem().
uint8_t font::height |
Height of one font character, in pixels.
Referenced by gfx_mono_draw_char(), gfx_mono_draw_char_hugemem(), gfx_mono_draw_char_progmem(), gfx_mono_draw_progmem_string(), gfx_mono_draw_string(), gfx_mono_get_progmem_string_bounding_box(), and gfx_mono_get_string_bounding_box().
uint8_t font::last_char |
ASCII value of last character in the set.
uint8_t PROGMEM_PTR_T font::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.
Referenced by gfx_mono_draw_char_progmem().
enum font_data_type font::type |
uint8_t font::width |
Width of one font character, in pixels.
Referenced by gfx_mono_draw_char(), gfx_mono_draw_char_hugemem(), gfx_mono_draw_char_progmem(), gfx_mono_draw_progmem_string(), gfx_mono_draw_string(), gfx_mono_get_progmem_string_bounding_box(), and gfx_mono_get_string_bounding_box().