File: font.h

package info (click to toggle)
chdrv 1.0.13-0.1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,204 kB
  • ctags: 1,069
  • sloc: ansic: 8,972; perl: 412; asm: 234; makefile: 195; sh: 36
file content (21 lines) | stat: -rw-r--r-- 526 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef __FONT_H
#define __FONT_H

typedef struct __FontCache
{
  int code;                    /* internal code of font     */
  unsigned w,h;                /* font size                 */
  int access;                  /* reference count           */
  char *bitmap;                /* font bit map              */
} FontCache;


#define MAX_FONT_CODE 13000
#define HARDWARE 1
#define SOFTWARE 2
#define NONE 0
void FontCache_init(int);
char *FontCache_find(int,int *,int,int);
int FontCache_add(int,char *,int,int);

#endif