52 #ifndef VOBJPAINTDEVICE_H
53 #define VOBJPAINTDEVICE_H
55 #include <qcompilerdetection.h>
56 #include <QPaintDevice>
57 #include <QSharedPointer>
70 virtual QPaintEngine *
paintEngine()
const Q_DECL_OVERRIDE;
76 void setSize(
const QSize &size);
85 virtual int metric(PaintDeviceMetric
metric)
const Q_DECL_OVERRIDE;
virtual ~VObjPaintDevice() Q_DECL_OVERRIDE
virtual QPaintEngine * paintEngine() const Q_DECL_OVERRIDE
QIODevice * getOutputDevice()
void setResolution(int dpi)
QString getFileName() const
void setSize(const QSize &size)
QSharedPointer< VObjEngine > engine
void setFileName(const QString &value)
virtual int metric(PaintDeviceMetric metric) const Q_DECL_OVERRIDE
void setOutputDevice(QIODevice *outputDevice)
int getResolution() const