|
MSP Graphics Library
|
This structure describes a font used for drawing text onto the screen. More...
#include <grlib.h>
Data Fields | |
| uint8_t | format |
| The format of the font. Can be one of FONT_FMT_UNCOMPRESSED or FONT_FMT_PIXEL_RLE. | |
| uint8_t | maxWidth |
| The maximum width of a character; this is the width of the widest character in the font, though any individual character may be narrower than this width. | |
| uint8_t | height |
| The height of the character cell; this may be taller than the font data for the characters (to provide inter-line spacing). | |
| uint8_t | baseline |
| The offset between the top of the character cell and the baseline of the glyph. The baseline is the bottom row of a capital letter, below which only the descenders of the lower case letters occur. | |
| uint16_t | offset [96] |
| The offset within data to the data for each character in the font. | |
| const uint8_t * | data |
| A pointer to the data for the font. | |
This structure describes a font used for drawing text onto the screen.