| 1 |
#ifndef __TTF_GCACHE_H |
| 2 |
#define __TTF_GCACHE_H |
| 3 |
|
| 4 |
#include "tables.h" |
| 5 |
|
| 6 |
/* $Id: gcache.h,v 1.2 1998/07/06 06:07:01 werner Exp $ */ |
| 7 |
|
| 8 |
typedef struct _gcache |
| 9 |
{ |
| 10 |
ULONG offset; /* offset of the glyph; this is the key |
| 11 |
* for sorting/searching with the glyph |
| 12 |
* cache */ |
| 13 |
struct _gcache *prev, *next; /* pointer to previous and next element on |
| 14 |
* the LRU list */ |
| 15 |
struct _gcache *left, *right; /* pointer to left and right subtree on |
| 16 |
* the binary search tree */ |
| 17 |
GLYF glyf; /* the actual place to hold the glyph data */ |
| 18 |
} |
| 19 |
GlyphCache, *GlyphCachePtr; |
| 20 |
|
| 21 |
#endif /* __TTF_GCACHE_H */ |
| 22 |
|
| 23 |
|
| 24 |
/* end of gcache.h */ |