QGIS API Documentation  2.8.2-Wien
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
QgsDxfPaintEngine Class Reference

#include <qgsdxfpaintengine.h>

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
void drawRects (const QRectF *rects, int rectCount) 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

Detailed Description

Definition at line 27 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 29 of file qgsdxfpaintengine.cpp.

Member Function Documentation

bool QgsDxfPaintEngine::begin ( QPaintDevice *  pdev)
override

Definition at line 33 of file qgsdxfpaintengine.cpp.

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

Definition at line 209 of file qgsdxfpaintengine.cpp.

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

Definition at line 118 of file qgsdxfpaintengine.cpp.

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

Definition at line 49 of file qgsdxfpaintengine.cpp.

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

Definition at line 70 of file qgsdxfpaintengine.cpp.

void QgsDxfPaintEngine::drawRects ( const QRectF *  rects,
int  rectCount 
)
override

Definition at line 97 of file qgsdxfpaintengine.cpp.

bool QgsDxfPaintEngine::end ( )
override

Definition at line 39 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 44 of file qgsdxfpaintengine.cpp.

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

Definition at line 54 of file qgsdxfpaintengine.cpp.


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