diff options
author | lecoanet | 2003-04-16 09:49:22 +0000 |
---|---|---|
committer | lecoanet | 2003-04-16 09:49:22 +0000 |
commit | 3261805fee19e346b4d1f84b23816daa1628764a (patch) | |
tree | 63ca1d7e4b0a3d9ae49cc0888e58033c3ef3fe22 /generic/PostScript.h | |
parent | eed2656db0adae2c234c3d74af0913746ed5c444 (diff) | |
download | tkzinc-3261805fee19e346b4d1f84b23816daa1628764a.zip tkzinc-3261805fee19e346b4d1f84b23816daa1628764a.tar.gz tkzinc-3261805fee19e346b4d1f84b23816daa1628764a.tar.bz2 tkzinc-3261805fee19e346b4d1f84b23816daa1628764a.tar.xz |
Update from the Windows port and general cleanup/restructure
Diffstat (limited to 'generic/PostScript.h')
-rw-r--r-- | generic/PostScript.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/generic/PostScript.h b/generic/PostScript.h index a7cd084..e62786a 100644 --- a/generic/PostScript.h +++ b/generic/PostScript.h @@ -33,6 +33,7 @@ #include "List.h" #include "Types.h" +#include "Geo.h" #include <stdio.h> #include <X11/Xlib.h> @@ -41,7 +42,7 @@ /* * PostScript information record -- */ -typedef struct _PostScriptStruct { +typedef struct _ZnPostScriptStruct { FILE *file; char *title; ZnBool landscape; @@ -52,10 +53,10 @@ typedef struct _PostScriptStruct { int world_height; ZnBBox page_bbox; ZnList fonts; -} PostScriptStruct, *PostScriptInfo; +} ZnPostScriptStruct, *ZnPostScriptInfo; -struct _WidgetInfo; +struct _ZnWInfo; /* @@ -66,15 +67,15 @@ struct _WidgetInfo; ********************************************************************************** */ -extern struct _POSTSCRIPT_P { - void (*EmitPostScript)(struct _WidgetInfo *wi, FILE *file, char *title, +extern struct _ZnPOSTSCRIPT { + void (*EmitPostScript)(struct _ZnWInfo *wi, FILE *file, char *title, ZnBool landscape, int color_mode, int x_world, int y_world, int world_width, int world_height, int bbox_ox, int bbox_oy, int bbox_cx, int bbox_cy); - void (*SetPostScriptFont)(struct _WidgetInfo *wi, PostScriptInfo ps_info, + void (*SetPostScriptFont)(struct _ZnWInfo *wi, ZnPostScriptInfo ps_info, XFontStruct *fs); -} POSTSCRIPT_P; +} ZnPOSTSCRIPT; #endif /* _PostScript_h */ |