2018-12-29 00:46:47 +08:00
|
|
|
#ifndef JKQTPEMFENGINEADAPTER_H
|
|
|
|
#define JKQTPEMFENGINEADAPTER_H
|
|
|
|
|
|
|
|
#include "EmfEngine/src/EmfEngine.h"
|
|
|
|
#include <QString>
|
|
|
|
#include <QStringList>
|
2020-10-19 22:05:18 +08:00
|
|
|
#include "../../lib/jkqtplotter/jkqtpbaseplotter.h"
|
2018-12-29 00:46:47 +08:00
|
|
|
|
2019-01-26 03:16:04 +08:00
|
|
|
class JKQTPEmfEngineAdapter : public JKQTPPaintDeviceAdapter
|
2018-12-29 00:46:47 +08:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
JKQTPEmfEngineAdapter();
|
|
|
|
|
|
|
|
virtual QString getFilter() const;
|
|
|
|
virtual QString getFormatName() const;
|
|
|
|
virtual QString getFormatID() const;
|
|
|
|
virtual QStringList getFileExtension() const;
|
|
|
|
virtual bool getSetAbsolutePaperSize() const;
|
|
|
|
virtual double getPrintSizeXInMM() const ;
|
|
|
|
virtual double getPrintSizeYInMM() const ;
|
|
|
|
virtual bool isPrinter() const;
|
|
|
|
virtual QPaintDevice* createPaintdevice(const QString& filename, int widthPix, int heightPix) const;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // JKQTPEMFENGINEADAPTER_H
|