1 /* -*- c++ -*-
2 FILE: PostScriptWriter.h
3 RCS REVISION: $Revision: 1.3 $
4 
5 COPYRIGHT: (c) 1999 -- 2003 Melinda Green, Don Hatch, and Jay Berkenbilt - Superliminal Software
6 
7 LICENSE: Free to use and modify for non-commercial purposes as long as the
8     following conditions are adhered to:
9     1) Obvious credit for the source of this code and the designs it embodies
10        are clearly made, and
11     2) Ports and derived versions of 4D Magic Cube programs are not distributed
12        without the express written permission of the authors.
13 
14 DESCRIPTION:
15     This class generates a PostScript representation of the current
16     puzzle configuration.
17 */
18 
19 #ifndef POSTSCRIPTWRITER_H
20 #define POSTSCRIPTWRITER_H
21 
22 #include "MagicCube.h"
23 
24 class Preferences;
25 class PuzzleState;
26 
27 class PostScriptWriter
28 {
29 public:
30     PostScriptWriter(Preferences&, PuzzleState& ps, struct frame&);
31     bool generateOutput(char const* filename);
32 
33 private:
34     Preferences& preferences;
35     PuzzleState& puzzle_state;
36     struct frame& frame;
37 };
38 
39 #endif
40 
41 // Local Variables:
42 // c-basic-offset: 4
43 // c-comment-only-line-offset: 0
44 // c-file-offsets: ((defun-block-intro . +) (block-open . 0) (substatement-open . 0) (statement-cont . +) (statement-case-open . +4) (arglist-intro . +) (arglist-close . +) (inline-open . 0))
45 // indent-tabs-mode: nil
46 // End:
47