shithub: riscv

ref: bb2060028e616df560628cf6f1e6e5d196d50833
dir: /sys/src/cmd/tcs/font/hdr.h/

View raw version
typedef Bitmap *readbitsfn(char *, int, long *, int, uchar *, int **);
typedef void mapfn(int, int, long *);

extern Bitmap *kreadbits(char *file, int nc, long *chars, int size, uchar *bits, int **);
extern void kmap(int from, int to, long *chars);
extern Bitmap *breadbits(char *file, int nc, long *chars, int size, uchar *bits, int **);
extern void bmap(int from, int to, long *chars);
extern Bitmap *greadbits(char *file, int nc, long *chars, int size, uchar *bits, int **);
extern void gmap(int from, int to, long *chars);
extern Bitmap *qreadbits(char *file, int nc, long *chars, int size, uchar *bits, int **);
extern Subfont *bf(int n, int size, Bitmap *b, int *);