18 #ifndef QGSDXFPAINTDEVICE_H
19 #define QGSDXFPAINTDEVICE_H
23 #include <QPaintDevice>
25 #include "qgis_core.h"
43 QPaintEngine *paintEngine()
const override;
49 double widthScaleFactor()
const;
52 QPointF dxfCoordinates( QPointF pt )
const;
57 int metric( PaintDeviceMetric metric )
const override;
59 void setLayer(
const QString &layer );
61 void setShift( QPointF shift );
Exports QGIS layers to the DXF format.
A paint device for drawing into dxf files.
void setOutputSize(const QRectF &r)
void setDrawingSize(QSizeF size)
Custom paint engine for rendering to DXF drawings.