QGIS API Documentation  2.11.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 (const 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

Definition at line 28 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)
override

Definition at line 34 of file qgsdxfpaintengine.cpp.

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

Reimplemented from QPaintEngine.

Definition at line 191 of file qgsdxfpaintengine.cpp.

void QgsDxfPaintEngine::drawPath ( const QPainterPath path)
overridevirtual

Reimplemented from QPaintEngine.

Definition at line 97 of file qgsdxfpaintengine.cpp.

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

Definition at line 50 of file qgsdxfpaintengine.cpp.

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

Reimplemented from QPaintEngine.

Definition at line 76 of file qgsdxfpaintengine.cpp.

bool QgsDxfPaintEngine::end ( )
override

Definition at line 40 of file qgsdxfpaintengine.cpp.

QString QgsDxfPaintEngine::layer ( ) const
inline

Definition at line 46 of file qgsdxfpaintengine.h.

void QgsDxfPaintEngine::setLayer ( const QString layer)
inline

Definition at line 45 of file qgsdxfpaintengine.h.

void QgsDxfPaintEngine::setShift ( const QPointF shift)
inline

Definition at line 48 of file qgsdxfpaintengine.h.

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

Definition at line 45 of file qgsdxfpaintengine.cpp.

void QgsDxfPaintEngine::updateState ( const QPaintEngineState state)
override

Definition at line 57 of file qgsdxfpaintengine.cpp.


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