QGIS API Documentation  3.4.15-Madeira (e83d02e274)
Public Member Functions | List of all members
QgsDxfPaintDevice Class Reference

A paint device for drawing into dxf files. More...

#include <qgsdxfpaintdevice.h>

Inheritance diagram for QgsDxfPaintDevice:
Inheritance graph
[legend]

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.

Note
not available in Python bindings

Definition at line 37 of file qgsdxfpaintdevice.h.

Constructor & Destructor Documentation

QgsDxfPaintDevice::QgsDxfPaintDevice ( QgsDxfExport dxf)

Definition at line 22 of file qgsdxfpaintdevice.cpp.

QgsDxfPaintDevice::~QgsDxfPaintDevice ( )
override

Definition at line 27 of file qgsdxfpaintdevice.cpp.

Member Function Documentation

QPointF QgsDxfPaintDevice::dxfCoordinates ( QPointF  pt) const

Converts a point from device coordinates to dxf coordinates.

Definition at line 80 of file qgsdxfpaintdevice.cpp.

int QgsDxfPaintDevice::metric ( PaintDeviceMetric  metric) const
override

Definition at line 37 of file qgsdxfpaintdevice.cpp.

QPaintEngine * QgsDxfPaintDevice::paintEngine ( ) const
override

Definition at line 32 of file qgsdxfpaintdevice.cpp.

void QgsDxfPaintDevice::setDrawingSize ( QSizeF  size)
inline

Definition at line 45 of file qgsdxfpaintdevice.h.

void QgsDxfPaintDevice::setLayer ( const QString &  layer)

Definition at line 92 of file qgsdxfpaintdevice.cpp.

void QgsDxfPaintDevice::setOutputSize ( const QRectF &  r)
inline

Definition at line 46 of file qgsdxfpaintdevice.h.

void QgsDxfPaintDevice::setShift ( QPointF  shift)

Definition at line 100 of file qgsdxfpaintdevice.cpp.

double QgsDxfPaintDevice::widthScaleFactor ( ) const

Returns scale factor for line width.

Definition at line 68 of file qgsdxfpaintdevice.cpp.


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