QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
Public Member Functions | List of all members
QgsDxfPaintEngine Class Reference

#include <qgsdxfpaintengine.h>

Inheritance diagram for QgsDxfPaintEngine:
Inheritance graph
[legend]

Public Member Functions

 QgsDxfPaintEngine (const QgsDxfPaintDevice *dxfDevice, QgsDxfExport *dxf)
 
 ~QgsDxfPaintEngine ()
 
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
 
- Public Member Functions inherited from QPaintEngine
 QPaintEngine (QFlags< QPaintEngine::PaintEngineFeature > caps)
 
virtual ~QPaintEngine ()
 
virtual bool begin (QPaintDevice *pdev)=0
 
virtual void drawEllipse (const QRectF &rect)
 
virtual void drawEllipse (const QRect &rect)
 
virtual void drawImage (const QRectF &rectangle, const QImage &image, const QRectF &sr, QFlags< Qt::ImageConversionFlag > flags)
 
virtual void drawLines (const QLine *lines, int lineCount)
 
virtual void drawPixmap (const QRectF &r, const QPixmap &pm, const QRectF &sr)=0
 
virtual void drawPoints (const QPoint *points, int pointCount)
 
virtual void drawPoints (const QPointF *points, int pointCount)
 
virtual void drawPolygon (const QPoint *points, int pointCount, PolygonDrawMode mode)
 
virtual void drawRects (const QRectF *rects, int rectCount)
 
virtual void drawRects (const QRect *rects, int rectCount)
 
virtual void drawTextItem (const QPointF &p, const QTextItem &textItem)
 
virtual void drawTiledPixmap (const QRectF &rect, const QPixmap &pixmap, const QPointF &p)
 
virtual bool end ()=0
 
bool hasFeature (QFlags< QPaintEngine::PaintEngineFeature > feature) const
 
bool isActive () const
 
QPaintDevicepaintDevice () const
 
QPainterpainter () const
 
void setActive (bool state)
 
virtual Type type () const=0
 
virtual void updateState (const QPaintEngineState &state)=0
 

Additional Inherited Members

- Public Attributes inherited from QPaintEngine
typedef DirtyFlags
 
typedef PaintEngineFeatures
 

Detailed Description

Note
not available in Python bindings

Definition at line 34 of file qgsdxfpaintengine.h.

Constructor & Destructor Documentation

◆ QgsDxfPaintEngine()

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

Definition at line 23 of file qgsdxfpaintengine.cpp.

◆ ~QgsDxfPaintEngine()

QgsDxfPaintEngine::~QgsDxfPaintEngine ( )

Definition at line 31 of file qgsdxfpaintengine.cpp.

Member Function Documentation

◆ begin()

bool QgsDxfPaintEngine::begin ( QPaintDevice pdev)
override

Definition at line 35 of file qgsdxfpaintengine.cpp.

◆ drawLines()

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

Reimplemented from QPaintEngine.

Definition at line 198 of file qgsdxfpaintengine.cpp.

◆ drawPath()

void QgsDxfPaintEngine::drawPath ( const QPainterPath path)
overridevirtual

Reimplemented from QPaintEngine.

Definition at line 104 of file qgsdxfpaintengine.cpp.

◆ drawPixmap()

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

Definition at line 51 of file qgsdxfpaintengine.cpp.

◆ drawPolygon()

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

Reimplemented from QPaintEngine.

Definition at line 82 of file qgsdxfpaintengine.cpp.

◆ end()

bool QgsDxfPaintEngine::end ( )
override

Definition at line 41 of file qgsdxfpaintengine.cpp.

◆ layer()

QString QgsDxfPaintEngine::layer ( ) const
inline

Definition at line 52 of file qgsdxfpaintengine.h.

◆ setLayer()

void QgsDxfPaintEngine::setLayer ( const QString layer)
inline

Definition at line 51 of file qgsdxfpaintengine.h.

◆ setShift()

void QgsDxfPaintEngine::setShift ( QPointF  shift)
inline

Definition at line 54 of file qgsdxfpaintengine.h.

◆ type()

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

Definition at line 46 of file qgsdxfpaintengine.cpp.

◆ updateState()

void QgsDxfPaintEngine::updateState ( const QPaintEngineState state)
override

Definition at line 58 of file qgsdxfpaintengine.cpp.


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