summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjoye <joye>2014-04-21 18:44:52 (GMT)
committerjoye <joye>2014-04-21 18:44:52 (GMT)
commitb6aea08b0ddefde6ba8a46a45919a053e55cca02 (patch)
treedc5ccef743becc65e47092a5782b94afdbbc4e87 /src
parent3a6fe8503067084554250dae3a1bbcb4247784c4 (diff)
downloadblt-b6aea08b0ddefde6ba8a46a45919a053e55cca02.zip
blt-b6aea08b0ddefde6ba8a46a45919a053e55cca02.tar.gz
blt-b6aea08b0ddefde6ba8a46a45919a053e55cca02.tar.bz2
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r--src/bltGrPSOutput.C2
-rw-r--r--src/bltGrPSOutput.h10
2 files changed, 11 insertions, 1 deletions
diff --git a/src/bltGrPSOutput.C b/src/bltGrPSOutput.C
index f9885cb..1eedb03 100644
--- a/src/bltGrPSOutput.C
+++ b/src/bltGrPSOutput.C
@@ -45,7 +45,7 @@ extern "C" {
#include "bltGrMisc.h"
extern "C" {
-#include "bltPsInt.h"
+#include "bltPs.h"
};
#ifdef TCL_UTF_MAX
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