QGIS API Documentation  2.5.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 ()
 
QPaintEngine * paintEngine () const
 
void setDrawingSize (const QSizeF &size)
 
void setOutputSize (const QRectF &r)
 
double widthScaleFactor () const
 Returns scale factor for line width. More...
 
QPointF dxfCoordinates (const QPointF &pt) const
 Converts a point from device coordinates to dxf coordinates. More...
 
int metric (PaintDeviceMetric metric) const
 
void setLayer (const QString &layer)
 
void setShift (const QPointF &shift)
 

Detailed Description

A paint device for drawing into dxf files.

Constructor & Destructor Documentation

QgsDxfPaintDevice::QgsDxfPaintDevice ( QgsDxfExport dxf)
QgsDxfPaintDevice::~QgsDxfPaintDevice ( )

Member Function Documentation

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

Converts a point from device coordinates to dxf coordinates.

int QgsDxfPaintDevice::metric ( PaintDeviceMetric  metric) const
QPaintEngine * QgsDxfPaintDevice::paintEngine ( ) const
void QgsDxfPaintDevice::setDrawingSize ( const QSizeF &  size)
inline
void QgsDxfPaintDevice::setLayer ( const QString &  layer)
void QgsDxfPaintDevice::setOutputSize ( const QRectF &  r)
inline
void QgsDxfPaintDevice::setShift ( const QPointF &  shift)
double QgsDxfPaintDevice::widthScaleFactor ( ) const

Returns scale factor for line width.


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