QGIS API Documentation  3.14.0-Pi (9f7028fd23)
Public Member Functions | List of all members
QgsDxfPaintDevice Class Reference

#include <qgsdxfpaintdevice.h>

Inheritance diagram for QgsDxfPaintDevice:
Inheritance graph

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...

Detailed Description

A paint device for drawing into dxf files.

not available in Python bindings

Definition at line 37 of file qgsdxfpaintdevice.h.

Constructor & Destructor Documentation

◆ QgsDxfPaintDevice()

QgsDxfPaintDevice::QgsDxfPaintDevice ( QgsDxfExport dxf)

Definition at line 22 of file qgsdxfpaintdevice.cpp.

◆ ~QgsDxfPaintDevice()

QgsDxfPaintDevice::~QgsDxfPaintDevice ( )

Definition at line 27 of file qgsdxfpaintdevice.cpp.

Member Function Documentation

◆ dxfCoordinates()

QPointF QgsDxfPaintDevice::dxfCoordinates ( QPointF  pt) const

Converts a point from device coordinates to dxf coordinates.

Definition at line 78 of file qgsdxfpaintdevice.cpp.

◆ metric()

int QgsDxfPaintDevice::metric ( PaintDeviceMetric  metric) const

Definition at line 37 of file qgsdxfpaintdevice.cpp.

◆ paintEngine()

QPaintEngine * QgsDxfPaintDevice::paintEngine ( ) const

Definition at line 32 of file qgsdxfpaintdevice.cpp.

◆ setDrawingSize()

void QgsDxfPaintDevice::setDrawingSize ( QSizeF  size)

Definition at line 45 of file qgsdxfpaintdevice.h.

◆ setLayer()

void QgsDxfPaintDevice::setLayer ( const QString &  layer)

Definition at line 90 of file qgsdxfpaintdevice.cpp.

◆ setOutputSize()

void QgsDxfPaintDevice::setOutputSize ( const QRectF &  r)

Definition at line 46 of file qgsdxfpaintdevice.h.

◆ setShift()

void QgsDxfPaintDevice::setShift ( QPointF  shift)

Definition at line 98 of file qgsdxfpaintdevice.cpp.

◆ widthScaleFactor()

double QgsDxfPaintDevice::widthScaleFactor ( ) const

Returns scale factor for line width.

Definition at line 66 of file qgsdxfpaintdevice.cpp.

The documentation for this class was generated from the following files: