ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/lsys/ps_int.h
Revision: 1.1
Committed: Thu Nov 6 14:31:24 2008 UTC (15 years, 6 months ago) by root
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.1 /*
2     * postscript interface
3     */
4    
5     #ifndef PS_INT_H
6     #define PS_INT_H
7    
8     #include "util.h"
9     #include "attr.h"
10     #include "matrix.h"
11    
12     class ps_int : public gfx_int {
13     ostream &o;
14     ostringstream *fig;
15     double x1, y1, x2, y2;
16     vec last_pos;
17    
18     void clip (const vec &v) t_no;
19     void check_attrs (const attribute_set &attr) t_err;
20     public:
21     ps_int (ostream &out) t_no;
22     ~ps_int () t_no;
23    
24     void begin_fig () t_no;
25     void end_fig () t_no;
26    
27     void segment (const point &a, const point &b) t_err;
28     void object (const points &v) t_err;
29     };
30    
31     #endif