mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-11-16 10:35:49 +08:00
27 lines
839 B
C++
27 lines
839 B
C++
#ifndef JKQTPEMFENGINEADAPTER_H
|
|
#define JKQTPEMFENGINEADAPTER_H
|
|
|
|
#include "EmfEngine/src/EmfEngine.h"
|
|
#include <QString>
|
|
#include <QStringList>
|
|
#include "../../lib/jkqtplotter/jkqtpbaseplotter.h"
|
|
|
|
class JKQTPEmfEngineAdapter : public JKQTPPaintDeviceAdapter
|
|
{
|
|
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
|