|
QGIS API Documentation
2.10.1-Pisa
|
A paint device for drawing into dxf files. More...
#include <qgsdxfpaintdevice.h>

Public Member Functions | |
| QgsDxfPaintDevice (QgsDxfExport *dxf) | |
| ~QgsDxfPaintDevice () | |
| QPointF | dxfCoordinates (const 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 (const QSizeF &size) |
| void | setLayer (const QString &layer) |
| void | setOutputSize (const QRectF &r) |
| void | setShift (const QPointF &shift) |
| double | widthScaleFactor () const |
| Returns scale factor for line width. More... | |
Public Member Functions inherited from QPaintDevice | |
| virtual | ~QPaintDevice () |
| int | colorCount () const |
| int | depth () const |
| int | height () const |
| int | heightMM () const |
| int | logicalDpiX () const |
| int | logicalDpiY () const |
| int | numColors () const |
| virtual QPaintEngine * | paintEngine () const =0 |
| bool | paintingActive () const |
| int | physicalDpiX () const |
| int | physicalDpiY () const |
| int | width () const |
| int | widthMM () const |
| int | x11Cells () const |
| Qt::HANDLE | x11Colormap () const |
| bool | x11DefaultColormap () const |
| bool | x11DefaultVisual () const |
| int | x11Depth () const |
| Display * | x11Display () const |
| int | x11Screen () const |
| void * | x11Visual () const |
Additional Inherited Members | |
Static Public Member Functions inherited from QPaintDevice | |
| int | x11AppCells (int screen) |
| Qt::HANDLE | x11AppColormap (int screen) |
| bool | x11AppDefaultColormap (int screen) |
| bool | x11AppDefaultVisual (int screen) |
| int | x11AppDepth (int screen) |
| Display * | x11AppDisplay () |
| int | x11AppDpiX (int screen) |
| int | x11AppDpiY (int screen) |
| Qt::HANDLE | x11AppRootWindow (int screen) |
| int | x11AppScreen () |
| void * | x11AppVisual (int screen) |
| void | x11SetAppDpiX (int dpi, int screen) |
| void | x11SetAppDpiY (int dpi, int screen) |
Protected Member Functions inherited from QPaintDevice | |
| QPaintDevice () | |
A paint device for drawing into dxf files.
Definition at line 29 of file qgsdxfpaintdevice.h.
| QgsDxfPaintDevice::QgsDxfPaintDevice | ( | QgsDxfExport * | dxf | ) |
Definition at line 20 of file qgsdxfpaintdevice.cpp.
| QgsDxfPaintDevice::~QgsDxfPaintDevice | ( | ) |
Definition at line 25 of file qgsdxfpaintdevice.cpp.
Converts a point from device coordinates to dxf coordinates.
Definition at line 72 of file qgsdxfpaintdevice.cpp.
|
overridevirtual |
Reimplemented from QPaintDevice.
Definition at line 35 of file qgsdxfpaintdevice.cpp.
|
override |
Definition at line 30 of file qgsdxfpaintdevice.cpp.
|
inline |
Definition at line 37 of file qgsdxfpaintdevice.h.
| void QgsDxfPaintDevice::setLayer | ( | const QString & | layer | ) |
Definition at line 84 of file qgsdxfpaintdevice.cpp.
|
inline |
Definition at line 38 of file qgsdxfpaintdevice.h.
| void QgsDxfPaintDevice::setShift | ( | const QPointF & | shift | ) |
Definition at line 92 of file qgsdxfpaintdevice.cpp.
| double QgsDxfPaintDevice::widthScaleFactor | ( | ) | const |
Returns scale factor for line width.
Definition at line 60 of file qgsdxfpaintdevice.cpp.
1.8.6