![]() |
![]() |
TI-RTOS Drivers
tidrivers_full_2_20_01_10
|
This structure describes a font used for drawing text onto the screen. More...
#include <grlib.h>
Data Fields | |
uint8_t | ucFormat |
uint8_t | ucMaxWidth |
uint8_t | ucHeight |
uint8_t | ucBaseline |
uint16_t | pusOffset [96] |
The offset within pucData to the data for each character in the font. More... | |
const uint8_t * | pucData |
A pointer to the data for the font. More... | |
This structure describes a font used for drawing text onto the screen.
uint8_t tFont::ucFormat |
The format of the font. Can be one of FONT_FMT_UNCOMPRESSED or FONT_FMT_PIXEL_RLE.
uint8_t tFont::ucMaxWidth |
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 tFont::ucHeight |
The height of the character cell; this may be taller than the font data for the characters (to provide inter-line spacing).
uint8_t tFont::ucBaseline |
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 tFont::pusOffset[96] |
The offset within pucData to the data for each character in the font.
const uint8_t* tFont::pucData |
A pointer to the data for the font.