QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
|
A paint device for drawing into dxf files. More...
#include <qgsdxfpaintdevice.h>
Public Member Functions | |
QgsDxfPaintDevice (QgsDxfExport *dxf) | |
~QgsDxfPaintDevice () | |
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... | |
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 32 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 76 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 40 of file qgsdxfpaintdevice.h.
void QgsDxfPaintDevice::setLayer | ( | const QString & | layer | ) |
Definition at line 88 of file qgsdxfpaintdevice.cpp.
|
inline |
Definition at line 41 of file qgsdxfpaintdevice.h.
void QgsDxfPaintDevice::setShift | ( | QPointF | shift | ) |
Definition at line 96 of file qgsdxfpaintdevice.cpp.
double QgsDxfPaintDevice::widthScaleFactor | ( | ) | const |
Returns scale factor for line width.
Definition at line 64 of file qgsdxfpaintdevice.cpp.