libpynq (release 5EWC0-2023 version 0.2.6 of 2023-10-24 17:28)
Loading...
Searching...
No Matches
fontx.h File Reference
#include <stdbool.h>
#include <stdint.h>
Include dependency graph for fontx.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  FontxFile
 

Macros

#define FontxGlyphBufSize   (32 * 32 / 8)
 

Typedefs

typedef struct _IO_FILE FILE
 

Functions

void AaddFontx (FontxFile *fx, const char *path)
 
void InitFontx (FontxFile *fxs, const char *f0, const char *f1)
 
bool OpenFontx (FontxFile *fx)
 
void CloseFontx (FontxFile *fx)
 
void DumpFontx (FontxFile *fxs)
 
uint8_t GetFontWidth (FontxFile *fx)
 
uint8_t GetFontHeight (FontxFile *fx)
 
bool GetFontx (FontxFile *fxs, uint8_t ascii, uint8_t *pGlyph, uint8_t *pw, uint8_t *ph)
 
void Font2Bitmap (uint8_t *fonts, uint8_t *line, uint8_t w, uint8_t h, uint8_t inverse)
 
void UnderlineBitmap (uint8_t *line, uint8_t w, uint8_t h)
 
void ReversBitmap (uint8_t *line, uint8_t w, uint8_t h)
 
void ShowFont (uint8_t *fonts, uint8_t pw, uint8_t ph)
 
void ShowBitmap (uint8_t *bitmap, uint8_t pw, uint8_t ph)
 
uint8_t RotateByte (uint8_t ch)
 

Macro Definition Documentation

◆ FontxGlyphBufSize

#define FontxGlyphBufSize   (32 * 32 / 8)

Definition at line 3 of file fontx.h.