13void ShowFont(uint8_t *fonts, uint8_t pw, uint8_t ph){};
14void ShowBitmap(uint8_t *bitmap, uint8_t pw, uint8_t ph){};
void AaddFontx(FontxFile *fx, const char *path)
Adds a font file to the given FontxFile structure.
void DumpFontx(FontxFile *fxs)
Dumps the font data stored in the FontxFile structure.
void InitFontx(FontxFile *fxs, const char *f0, const char *f1)
Initializes the given FontxFile structure with the specified font files.
void CloseFontx(FontxFile *fx)
Closes the font file.
void ShowBitmap(uint8_t *bitmap, uint8_t pw, uint8_t ph)
Displays a bitmap on the screen.
bool GetFontx(FontxFile *fxs, uint8_t ascii, uint8_t *pGlyph, uint8_t *pw, uint8_t *ph)
Gets the glyph data for the specified ASCII character.
uint8_t RotateByte(uint8_t ch)
Rotates a byte by 90 degrees.
void ReversBitmap(uint8_t *line, uint8_t w, uint8_t h)
Reverses the bits in each byte of a bitmap.
uint8_t GetFontWidth(FontxFile *fx)
Gets the width of a character in the font.
void ShowFont(uint8_t *fonts, uint8_t pw, uint8_t ph)
Displays a font on the screen.
bool OpenFontx(FontxFile *fx)
Opens the font file and reads the font data into the FontxFile structure.
void UnderlineBitmap(uint8_t *line, uint8_t w, uint8_t h)
Adds an underline to a bitmap.
uint8_t GetFontHeight(FontxFile *fx)
Gets the height of a character in the font.
Struct representing a font file.