libpynq (release 5EWC0-2023 version 0.1.0 of 2023-08-14 14:01)
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 getFortWidth (FontxFile *fx)
 
uint8_t getFortHeight (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.