QGIS API Documentation  2.14.0-Essen
Public Member Functions | List of all members
QgsDxfPaintEngine Class Reference

#include <qgsdxfpaintengine.h>

Inheritance diagram for QgsDxfPaintEngine:
Inheritance graph

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

not available in Python bindings

Definition at line 32 of file qgsdxfpaintengine.h.

Constructor & Destructor Documentation

QgsDxfPaintEngine::QgsDxfPaintEngine ( const QgsDxfPaintDevice dxfDevice,
QgsDxfExport dxf 

Definition at line 23 of file qgsdxfpaintengine.cpp.

QgsDxfPaintEngine::~QgsDxfPaintEngine ( )

Definition at line 30 of file qgsdxfpaintengine.cpp.

Member Function Documentation

bool QgsDxfPaintEngine::begin ( QPaintDevice pdev)

Definition at line 34 of file qgsdxfpaintengine.cpp.

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

Reimplemented from QPaintEngine.

Definition at line 191 of file qgsdxfpaintengine.cpp.

void QgsDxfPaintEngine::drawPath ( const QPainterPath path)

Reimplemented from QPaintEngine.

Definition at line 97 of file qgsdxfpaintengine.cpp.

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

Definition at line 50 of file qgsdxfpaintengine.cpp.

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

Reimplemented from QPaintEngine.

Definition at line 76 of file qgsdxfpaintengine.cpp.

bool QgsDxfPaintEngine::end ( )

Definition at line 40 of file qgsdxfpaintengine.cpp.

QString QgsDxfPaintEngine::layer ( ) const

Definition at line 50 of file qgsdxfpaintengine.h.

void QgsDxfPaintEngine::setLayer ( const QString layer)

Definition at line 49 of file qgsdxfpaintengine.h.

void QgsDxfPaintEngine::setShift ( QPointF  shift)

Definition at line 52 of file qgsdxfpaintengine.h.

QPaintEngine::Type QgsDxfPaintEngine::type ( ) const

Definition at line 45 of file qgsdxfpaintengine.cpp.

void QgsDxfPaintEngine::updateState ( const QPaintEngineState state)

Definition at line 57 of file qgsdxfpaintengine.cpp.

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