summaryrefslogtreecommitdiffstats
path: root/src/bltGrPSOutput.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bltGrPSOutput.h')
-rw-r--r--src/bltGrPSOutput.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/bltGrPSOutput.h b/src/bltGrPSOutput.h
index fc14b7c..e9a4baa 100644
--- a/src/bltGrPSOutput.h
+++ b/src/bltGrPSOutput.h
@@ -71,6 +71,16 @@ typedef struct {
} PageSetup;
+#define POSTSCRIPT_BUFSIZ ((BUFSIZ*2)-1)
+struct _Blt_Ps {
+ Tcl_Interp* interp;
+ Tcl_DString dString;
+ PageSetup *setupPtr;
+ char scratchArr[POSTSCRIPT_BUFSIZ+1];
+};
+
+typedef struct _Blt_Ps PostScript;
+
#define PS_MAXPECT (1<<4)
#define PS_FMT_NONE 0