1 | /** |
2 | * QImageIO Routines to read/write EPS images. |
3 | * copyright (c) 1998 Dirk Schoenberger <dirk.schoenberger@freenet.de> |
4 | * |
5 | * This library is distributed under the conditions of the GNU LGPL. |
6 | */ |
7 | #ifndef _EPS_H |
8 | #define _EPS_H |
9 | |
10 | |
11 | #include <QtGui/QImageIOPlugin> |
12 | |
13 | class EPSHandler : public QImageIOHandler |
14 | { |
15 | public: |
16 | EPSHandler(); |
17 | |
18 | bool canRead() const; |
19 | bool read(QImage *image); |
20 | bool write(const QImage &image); |
21 | |
22 | QByteArray name() const; |
23 | |
24 | static bool canRead(QIODevice *device); |
25 | }; |
26 | |
27 | #endif |
28 | |
29 | |