95 |
/* Emulate XCharStruct. */ |
/* Emulate XCharStruct. */ |
96 |
typedef struct _XCharStruct |
typedef struct _XCharStruct |
97 |
{ |
{ |
98 |
int rbearing; |
short lbearing; /* origin to left edge of raster */ |
99 |
int lbearing; |
short rbearing; /* origin to right edge of raster */ |
100 |
int width; |
short width; /* advance to next char's origin */ |
101 |
int ascent; |
short ascent; /* baseline to top edge of raster */ |
102 |
int descent; |
short descent; /* baseline to bottom edge of raster */ |
103 |
|
#if 0 |
104 |
|
unsigned short attributes; /* per char flags (not predefined) */ |
105 |
|
#endif |
106 |
} XCharStruct; |
} XCharStruct; |
107 |
|
|
108 |
#define STORE_XCHARSTRUCT(xcs, w, bds) \ |
#define STORE_XCHARSTRUCT(xcs, w, bds) \ |