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 |
Storage structure for font metadata.
Definition at line 214 of file gfx.h.
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().
Height of one font character, in pixles.
Definition at line 228 of file gfx.h.
Referenced by gfx_draw_char(), gfx_draw_char_hugemem(), gfx_draw_char_progmem(), gfx_draw_progmem_string(), gfx_draw_string(), gfx_font_get_height(), gfx_get_progmem_string_bounding_box(), gfx_get_string_bounding_box(), wtk_check_box_size_hint(), and wtk_radio_button_size_hint().
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().
Number of times characters are scaled up when being drawn.
Definition at line 230 of file gfx.h.
Referenced by gfx_draw_char(), gfx_draw_char_hugemem(), gfx_draw_char_progmem(), gfx_draw_progmem_string(), gfx_draw_string(), gfx_font_get_height(), gfx_font_get_width(), gfx_get_progmem_string_bounding_box(), gfx_get_string_bounding_box(), wtk_check_box_size_hint(), and wtk_radio_button_size_hint().
| enum font_data_type font::type |
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().
Width of one font character, in pixles.
Definition at line 226 of file gfx.h.
Referenced by gfx_draw_char(), gfx_draw_char_hugemem(), gfx_draw_char_progmem(), gfx_draw_progmem_string(), gfx_draw_string(), gfx_font_get_width(), gfx_get_progmem_string_bounding_box(), and gfx_get_string_bounding_box().
1.6.3