Data Structure that defines an individual character. More...
#include <GrFont.h>
Public Attributes | |
| uint16_t | x |
| UL x-position of the character within the DRAM image. | |
| uint16_t | y |
| UL y-position of the character within the DRAM image. | |
| uint16_t | width |
| Width of the character in the DRAM image. | |
| uint16_t | height |
| Height of the character in the DRAM image. | |
| int16_t | xoffset |
| Cursor x-offset that should be used when copying character to the screen. | |
| int16_t | yoffset |
| Cursor y-offset that should be used when copying character to the screen. | |
| uint16_t | xadvance |
| How far to advance the curso x-pos after this character. | |
Data Structure that defines an individual character.
This structure should be created so that it references an image in DRAM that contains font imagery.
| uint16_t CharDef_t::height |
Height of the character in the DRAM image.
| uint16_t CharDef_t::width |
Width of the character in the DRAM image.
| uint16_t CharDef_t::x |
UL x-position of the character within the DRAM image.
| uint16_t CharDef_t::xadvance |
How far to advance the curso x-pos after this character.
| int16_t CharDef_t::xoffset |
Cursor x-offset that should be used when copying character to the screen.
| uint16_t CharDef_t::y |
UL y-position of the character within the DRAM image.
| int16_t CharDef_t::yoffset |
Cursor y-offset that should be used when copying character to the screen.