2014-11-13 01:04:59 +02:00
|
|
|
/**
|
|
|
|
* QImageIO Routines to read/write EPS images.
|
|
|
|
* copyright (c) 1998 Dirk Schoenberger <dirk.schoenberger@freenet.de>
|
|
|
|
*
|
|
|
|
* This library is distributed under the conditions of the GNU LGPL.
|
|
|
|
*/
|
2015-07-11 18:42:46 +03:00
|
|
|
#ifndef EPS_H
|
|
|
|
#define EPS_H
|
2014-11-13 01:04:59 +02:00
|
|
|
|
|
|
|
|
2015-08-11 05:56:07 +03:00
|
|
|
#include <QtGui/qimageiohandler.h>
|
2014-11-13 01:04:59 +02:00
|
|
|
|
|
|
|
class EPSHandler : public QImageIOHandler
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
EPSHandler();
|
|
|
|
|
|
|
|
bool canRead() const;
|
|
|
|
bool read(QImage *image);
|
|
|
|
bool write(const QImage &image);
|
|
|
|
|
|
|
|
QByteArray name() const;
|
|
|
|
|
|
|
|
static bool canRead(QIODevice *device);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|