summaryrefslogtreecommitdiffstats
path: root/src/bltGrPostscript.h
diff options
context:
space:
mode:
authorjoye <joye>2014-06-27 18:07:59 (GMT)
committerjoye <joye>2014-06-27 18:07:59 (GMT)
commit27a7bebf981ccfc6551238f3ae97321995513409 (patch)
treedf48eccf150fbd0c36268b49405c21dcc6469bad /src/bltGrPostscript.h
parent4070e7aa6abb6b97cf99bebcaa5903194a44cb26 (diff)
downloadblt-27a7bebf981ccfc6551238f3ae97321995513409.zip
blt-27a7bebf981ccfc6551238f3ae97321995513409.tar.gz
blt-27a7bebf981ccfc6551238f3ae97321995513409.tar.bz2
*** empty log message ***
Diffstat (limited to 'src/bltGrPostscript.h')
-rw-r--r--src/bltGrPostscript.h65
1 files changed, 34 insertions, 31 deletions
diff --git a/src/bltGrPostscript.h b/src/bltGrPostscript.h
index 10131d1..461419e 100644
--- a/src/bltGrPostscript.h
+++ b/src/bltGrPostscript.h
@@ -32,40 +32,43 @@
#include <tk.h>
-typedef struct {
- int center;
- const char **comments;
- int decorations;
- int footer;
- int greyscale;
- int landscape;
- int level;
- int xPad;
- int yPad;
- int reqPaperWidth;
- int reqPaperHeight;
- int reqWidth;
- int reqHeight;
-} PostscriptOptions;
+namespace Blt {
+
+ typedef struct {
+ int center;
+ const char **comments;
+ int decorations;
+ int footer;
+ int greyscale;
+ int landscape;
+ int level;
+ int xPad;
+ int yPad;
+ int reqPaperWidth;
+ int reqPaperHeight;
+ int reqWidth;
+ int reqHeight;
+ } PostscriptOptions;
-class Postscript {
- public:
- Tk_OptionTable optionTable_;
- void* ops_;
- Graph* graphPtr_;
- unsigned int flags;
+ class Postscript {
+ public:
+ Tk_OptionTable optionTable_;
+ void* ops_;
+ Graph* graphPtr_;
+ unsigned int flags;
- short int left;
- short int bottom;
- short int right;
- short int top;
- float scale;
- int paperHeight;
- int paperWidth;
+ short int left;
+ short int bottom;
+ short int right;
+ short int top;
+ float scale;
+ int paperHeight;
+ int paperWidth;
- public:
- Postscript(Graph*);
- virtual ~Postscript();
+ public:
+ Postscript(Graph*);
+ virtual ~Postscript();
+ };
};
#endif