aboutsummaryrefslogtreecommitdiff
path: root/generic/PostScript.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/PostScript.h')
-rw-r--r--generic/PostScript.h35
1 files changed, 1 insertions, 34 deletions
diff --git a/generic/PostScript.h b/generic/PostScript.h
index e62786a..18939e4 100644
--- a/generic/PostScript.h
+++ b/generic/PostScript.h
@@ -39,43 +39,10 @@
#include <X11/Xlib.h>
-/*
- * PostScript information record --
- */
-typedef struct _ZnPostScriptStruct {
- FILE *file;
- char *title;
- ZnBool landscape;
- int color_mode;
- int x_world;
- int y_world;
- int world_width;
- int world_height;
- ZnBBox page_bbox;
- ZnList fonts;
-} ZnPostScriptStruct, *ZnPostScriptInfo;
-
-
struct _ZnWInfo;
-/*
- **********************************************************************************
- *
- * Methods defined in PostScript.c for internal use.
- *
- **********************************************************************************
- */
-
-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 _ZnWInfo *wi, ZnPostScriptInfo ps_info,
- XFontStruct *fs);
-} ZnPOSTSCRIPT;
+int ZnPostScriptCmd(struct _ZnWInfo *wi, int argc, Tcl_Obj *CONST *args);
#endif /* _PostScript_h */