QGIS API Documentation  2.7.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
QgsDxfPaintDevice Class Reference

A paint device for drawing into dxf files. More...

#include <qgsdxfpaintdevice.h>

Inheritance diagram for QgsDxfPaintDevice:
Inheritance graph
[legend]

Public Member Functions

 QgsDxfPaintDevice (QgsDxfExport *dxf)
 
 ~QgsDxfPaintDevice ()
 
QPointF dxfCoordinates (const QPointF &pt) const
 Converts a point from device coordinates to dxf coordinates. More...
 
int metric (PaintDeviceMetric metric) const
 
QPaintEngine * paintEngine () const
 
void setDrawingSize (const QSizeF &size)
 
void setLayer (const QString &layer)
 
void setOutputSize (const QRectF &r)
 
void setShift (const QPointF &shift)
 
double widthScaleFactor () const
 Returns scale factor for line width. More...
 

Detailed Description

A paint device for drawing into dxf files.

Definition at line 29 of file qgsdxfpaintdevice.h.

Constructor & Destructor Documentation

QgsDxfPaintDevice::QgsDxfPaintDevice ( QgsDxfExport dxf)

Definition at line 20 of file qgsdxfpaintdevice.cpp.

QgsDxfPaintDevice::~QgsDxfPaintDevice ( )

Definition at line 25 of file qgsdxfpaintdevice.cpp.

Member Function Documentation

QPointF QgsDxfPaintDevice::dxfCoordinates ( const QPointF &  pt) const

Converts a point from device coordinates to dxf coordinates.

Definition at line 72 of file qgsdxfpaintdevice.cpp.

int QgsDxfPaintDevice::metric ( PaintDeviceMetric  metric) const

Definition at line 35 of file qgsdxfpaintdevice.cpp.

QPaintEngine * QgsDxfPaintDevice::paintEngine ( ) const

Definition at line 30 of file qgsdxfpaintdevice.cpp.

void QgsDxfPaintDevice::setDrawingSize ( const QSizeF &  size)
inline

Definition at line 37 of file qgsdxfpaintdevice.h.

void QgsDxfPaintDevice::setLayer ( const QString &  layer)

Definition at line 84 of file qgsdxfpaintdevice.cpp.

void QgsDxfPaintDevice::setOutputSize ( const QRectF &  r)
inline

Definition at line 38 of file qgsdxfpaintdevice.h.

void QgsDxfPaintDevice::setShift ( const QPointF &  shift)

Definition at line 92 of file qgsdxfpaintdevice.cpp.

double QgsDxfPaintDevice::widthScaleFactor ( ) const

Returns scale factor for line width.

Definition at line 60 of file qgsdxfpaintdevice.cpp.


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