QGIS API Documentation
3.2.0-Bonn (bc43194)
|
A paint device for drawing into dxf files. More...
#include <qgsdxfpaintdevice.h>
Public Member Functions | |
QgsDxfPaintDevice (QgsDxfExport *dxf) | |
~QgsDxfPaintDevice () override | |
QPointF | dxfCoordinates (QPointF pt) const |
Converts a point from device coordinates to dxf coordinates. More... | |
int | metric (PaintDeviceMetric metric) const override |
QPaintEngine * | paintEngine () const override |
void | setDrawingSize (QSizeF size) |
void | setLayer (const QString &layer) |
void | setOutputSize (const QRectF &r) |
void | setShift (QPointF shift) |
double | widthScaleFactor () const |
Returns scale factor for line width. More... | |
A paint device for drawing into dxf files.
Definition at line 37 of file qgsdxfpaintdevice.h.
QgsDxfPaintDevice::QgsDxfPaintDevice | ( | QgsDxfExport * | dxf | ) |
Definition at line 21 of file qgsdxfpaintdevice.cpp.
|
override |
Definition at line 26 of file qgsdxfpaintdevice.cpp.
QPointF QgsDxfPaintDevice::dxfCoordinates | ( | QPointF | pt | ) | const |
Converts a point from device coordinates to dxf coordinates.
Definition at line 79 of file qgsdxfpaintdevice.cpp.
|
override |
Definition at line 36 of file qgsdxfpaintdevice.cpp.
|
override |
Definition at line 31 of file qgsdxfpaintdevice.cpp.
|
inline |
Definition at line 45 of file qgsdxfpaintdevice.h.
void QgsDxfPaintDevice::setLayer | ( | const QString & | layer | ) |
Definition at line 91 of file qgsdxfpaintdevice.cpp.
|
inline |
Definition at line 46 of file qgsdxfpaintdevice.h.
void QgsDxfPaintDevice::setShift | ( | QPointF | shift | ) |
Definition at line 99 of file qgsdxfpaintdevice.cpp.
double QgsDxfPaintDevice::widthScaleFactor | ( | ) | const |
Returns scale factor for line width.
Definition at line 67 of file qgsdxfpaintdevice.cpp.