QGIS API Documentation  3.22.4-Białowieża (ce8e65e95e)
Public Member Functions | List of all members
QgsDxfPaintEngine Class Reference

Custom paint engine for rendering to DXF drawings. More...

#include <qgsdxfpaintengine.h>

Inheritance diagram for QgsDxfPaintEngine:
Inheritance graph
[legend]

Public Member Functions

 QgsDxfPaintEngine (const QgsDxfPaintDevice *dxfDevice, QgsDxfExport *dxf)
 
bool begin (QPaintDevice *pdev) override
 
void drawLines (const QLineF *lines, int lineCount) override
 
void drawPath (const QPainterPath &path) override
 
void drawPixmap (const QRectF &r, const QPixmap &pm, const QRectF &sr) override
 
void drawPolygon (const QPointF *points, int pointCount, PolygonDrawMode mode) override
 
bool end () override
 
QString layer () const
 
void setLayer (const QString &layer)
 
void setShift (QPointF shift)
 
QPaintEngine::Type type () const override
 
void updateState (const QPaintEngineState &state) override
 

Detailed Description

Custom paint engine for rendering to DXF drawings.

Note
not available in Python bindings

Definition at line 40 of file qgsdxfpaintengine.h.

Constructor & Destructor Documentation

◆ QgsDxfPaintEngine()

QgsDxfPaintEngine::QgsDxfPaintEngine ( const QgsDxfPaintDevice dxfDevice,
QgsDxfExport dxf 
)

Definition at line 23 of file qgsdxfpaintengine.cpp.

Member Function Documentation

◆ begin()

bool QgsDxfPaintEngine::begin ( QPaintDevice *  pdev)
override

Definition at line 30 of file qgsdxfpaintengine.cpp.

◆ drawLines()

void QgsDxfPaintEngine::drawLines ( const QLineF *  lines,
int  lineCount 
)
override

Definition at line 193 of file qgsdxfpaintengine.cpp.

◆ drawPath()

void QgsDxfPaintEngine::drawPath ( const QPainterPath &  path)
override

Definition at line 99 of file qgsdxfpaintengine.cpp.

◆ drawPixmap()

void QgsDxfPaintEngine::drawPixmap ( const QRectF &  r,
const QPixmap &  pm,
const QRectF &  sr 
)
override

Definition at line 46 of file qgsdxfpaintengine.cpp.

◆ drawPolygon()

void QgsDxfPaintEngine::drawPolygon ( const QPointF *  points,
int  pointCount,
PolygonDrawMode  mode 
)
override

Definition at line 77 of file qgsdxfpaintengine.cpp.

◆ end()

bool QgsDxfPaintEngine::end ( )
override

Definition at line 36 of file qgsdxfpaintengine.cpp.

◆ layer()

QString QgsDxfPaintEngine::layer ( ) const
inline

Definition at line 57 of file qgsdxfpaintengine.h.

◆ setLayer()

void QgsDxfPaintEngine::setLayer ( const QString &  layer)
inline

Definition at line 56 of file qgsdxfpaintengine.h.

◆ setShift()

void QgsDxfPaintEngine::setShift ( QPointF  shift)
inline

Definition at line 59 of file qgsdxfpaintengine.h.

◆ type()

QPaintEngine::Type QgsDxfPaintEngine::type ( ) const
override

Definition at line 41 of file qgsdxfpaintengine.cpp.

◆ updateState()

void QgsDxfPaintEngine::updateState ( const QPaintEngineState &  state)
override

Definition at line 53 of file qgsdxfpaintengine.cpp.


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