blob: bddc3a1dba0471de06fab579d0a41e6572960ed5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
/*****
* drawgsave.h
* John Bowman
*
* Output PostScript gsave to picture.
*****/
#ifndef DRAWGSAVE_H
#define DRAWGSAVE_H
#include "drawelement.h"
namespace camp {
class drawGsave : public drawElement {
public:
drawGsave() {}
virtual ~drawGsave() {}
bool draw(psfile *out) {
out->gsave();
return true;
}
bool write(texfile *out, const bbox&) {
out->gsave();
return true;
}
};
}
GC_DECLARE_PTRFREE(camp::drawGsave);
#endif
|