From 3261805fee19e346b4d1f84b23816daa1628764a Mon Sep 17 00:00:00 2001 From: lecoanet Date: Wed, 16 Apr 2003 09:49:22 +0000 Subject: Update from the Windows port and general cleanup/restructure --- generic/PostScript.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'generic/PostScript.h') 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 #include @@ -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 */ -- cgit v1.1