| •1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
#include <X11/Xlib.h> |
| 29 |
|
| 30 |
#ifdef T1X11_C |
| 31 |
|
| 32 |
int T1_SetX11Params( Display *display, |
| 33 |
Visual *visual, |
| 34 |
unsigned int depth, |
| 35 |
Colormap colormap); |
| 36 |
GLYPH *T1_SetCharX( Drawable d, GC gc, int mode, int x, int y, |
| 37 |
int FontID, char charcode, |
| 38 |
float size, T1_TMATRIX *transform); |
| 39 |
GLYPH *T1_SetStringX( Drawable d, GC gc, int mode, int x, int y, |
| 40 |
int FontID, char *string, int len, |
| 41 |
long spaceoff, int modflag, |
| 42 |
float size, T1_TMATRIX *transform); |
| 43 |
GLYPH *T1_SetRectX( Drawable d, GC gc, int mode, int x_dest, int y_dest, |
| 44 |
int FontID, float size, |
| 45 |
float width, float height, |
| 46 |
T1_TMATRIX *transform); |
| 47 |
GLYPH *T1_AASetCharX( Drawable d, GC gc, int mode, int x, int y, |
| 48 |
int FontID, char charcode, |
| 49 |
float size, T1_TMATRIX *transform); |
| 50 |
GLYPH *T1_AASetStringX( Drawable d, GC gc, int mode, int x, int y, |
| 51 |
int FontID, char *string, int len, |
| 52 |
long spaceoff, int modflag, |
| 53 |
float size, T1_TMATRIX *transform); |
| 54 |
GLYPH *T1_AASetRectX( Drawable d, GC gc, int mode, int x_dest, int y_dest, |
| 55 |
int FontID, float size, |
| 56 |
float width, float height, |
| 57 |
T1_TMATRIX *transform); |
| 58 |
int T1_ComputeAAColorsX( unsigned long fg, |
| 59 |
unsigned long bg, |
| 60 |
int nolevels); |
| 61 |
int T1_GetDepthOfDrawable( Drawable drawable); |
| 62 |
void T1_LogicalPositionX( int pos_switch); |
| 63 |
|
| 64 |
|
| 65 |
#else |
| 66 |
|
| 67 |
extern Display *T1_display; |
| 68 |
|
| 69 |
extern int T1_SetX11Params( Display *display, |
| 70 |
Visual *visual, |
| 71 |
unsigned int depth, |
| 72 |
Colormap colormap); |
| 73 |
extern GLYPH *T1_SetCharX( Drawable d, GC gc, int mode, int x, int y, |
| 74 |
int FontID, char charcode, |
| 75 |
float size, T1_TMATRIX *transform); |
| 76 |
extern GLYPH *T1_SetStringX( Drawable d, GC gc, int mode, int x, int y, |
| 77 |
int FontID, char *string, int len, |
| 78 |
long spaceoff, int modflag, |
| 79 |
float size, T1_TMATRIX *transform); |
| 80 |
extern GLYPH *T1_SetRectX( Drawable d, GC gc, int mode, int x_dest, int y_dest, |
| 81 |
int FontID, float size, |
| 82 |
float width, float height, |
| 83 |
T1_TMATRIX *transform); |
| 84 |
extern GLYPH *T1_AASetCharX( Drawable d, GC gc, int mode, int x, int y, |
| 85 |
int FontID, char charcode, |
| 86 |
float size, T1_TMATRIX *transform); |
| 87 |
extern GLYPH *T1_AASetStringX( Drawable d, GC gc, int mode, int x, int y, |
| 88 |
int FontID, char *string, int len, |
| 89 |
long spaceoff, int modflag, |
| 90 |
float size, T1_TMATRIX *transform); |
| 91 |
extern GLYPH *T1_AASetRectX( Drawable d, GC gc, int mode, int x_dest, int y_dest, |
| 92 |
int FontID, float size, |
| 93 |
float width, float height, |
| 94 |
T1_TMATRIX *transform); |
| 95 |
extern int T1_ComputeAAColorsX( unsigned long fg, |
| 96 |
unsigned long bg, |
| 97 |
int nolevels); |
| 98 |
extern int T1_GetDepthOfDrawable( Drawable drawable); |
| 99 |
extern void T1_LogicalPositionX( int pos_switch); |
| 100 |
|
| 101 |
|
| 102 |
#endif |
| 103 |
|