QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | List of all members
QgsDxfExport Class Reference

#include <qgsdxfexport.h>

Public Types

enum  SymbologyExport { NoSymbology = 0, FeatureSymbology, SymbolLayerSymbology }

Public Member Functions

 QgsDxfExport ()
 QgsDxfExport (const QgsDxfExport &dxfExport)
 ~QgsDxfExport ()
QgsDxfExportoperator= (const QgsDxfExport &dxfExport)
void addLayers (QList< QgsMapLayer * > &layers)
int writeToFile (QIODevice *d)
void setSymbologyScaleDenominator (double d)
double symbologyScaleDenominator () const
void setMapUnits (QGis::UnitType u)
QGis::UnitType mapUnits () const
void setSymbologyExport (SymbologyExport e)
SymbologyExport symbologyExport () const
void setExtent (const QgsRectangle &r)
QgsRectangle extent () const
void writeGroup (int code, int i)
void writeGroup (int code, double d)
void writeGroup (int code, const QString &s)
void writeGroupCode (int code)
void writeInt (int i)
void writeDouble (double d)
void writeString (const QString &s)
void writePolyline (const QgsPolyline &line, const QString &layer, const QString &lineStyleName, int color, double width=-1, bool polygon=false)
void writeSolid (const QString &layer, int color, const QgsPoint &pt1, const QgsPoint &pt2, const QgsPoint &pt3, const QgsPoint &pt4)
void writeLine (const QgsPoint &pt1, const QgsPoint &pt2, const QString &layer, const QString &lineStyleName, int color, double width=-1)
void writePoint (const QString &layer, int color, const QgsPoint &pt)
void writeCircle (const QString &layer, int color, const QgsPoint &pt, double radius)
void writeText (const QString &layer, const QString &text, const QgsPoint &pt, double size, double angle, int color)

Static Public Member Functions

static int closestColorMatch (QRgb pixel)
static double mapUnitScaleFactor (double scaleDenominator, QgsSymbolV2::OutputUnit symbolUnits, QGis::UnitType mapUnits)
static QString dxfLayerName (const QString &name)

Member Enumeration Documentation

Enumerator:
NoSymbology 
FeatureSymbology 
SymbolLayerSymbology 

Constructor & Destructor Documentation

QgsDxfExport::QgsDxfExport ( )
QgsDxfExport::QgsDxfExport ( const QgsDxfExport dxfExport)
QgsDxfExport::~QgsDxfExport ( )

Member Function Documentation

void QgsDxfExport::addLayers ( QList< QgsMapLayer * > &  layers)
inline
int QgsDxfExport::closestColorMatch ( QRgb  pixel)
static
QString QgsDxfExport::dxfLayerName ( const QString &  name)
static
QgsRectangle QgsDxfExport::extent ( ) const
inline
QGis::UnitType QgsDxfExport::mapUnits ( ) const
inline
double QgsDxfExport::mapUnitScaleFactor ( double  scaleDenominator,
QgsSymbolV2::OutputUnit  symbolUnits,
QGis::UnitType  mapUnits 
)
static
QgsDxfExport & QgsDxfExport::operator= ( const QgsDxfExport dxfExport)
void QgsDxfExport::setExtent ( const QgsRectangle r)
inline
void QgsDxfExport::setMapUnits ( QGis::UnitType  u)
inline
void QgsDxfExport::setSymbologyExport ( SymbologyExport  e)
inline
void QgsDxfExport::setSymbologyScaleDenominator ( double  d)
inline
SymbologyExport QgsDxfExport::symbologyExport ( ) const
inline
double QgsDxfExport::symbologyScaleDenominator ( ) const
inline
void QgsDxfExport::writeCircle ( const QString &  layer,
int  color,
const QgsPoint pt,
double  radius 
)
void QgsDxfExport::writeDouble ( double  d)
void QgsDxfExport::writeGroup ( int  code,
int  i 
)
Note
available in python bindings as writeGroupInt
void QgsDxfExport::writeGroup ( int  code,
double  d 
)
Note
available in python bindings as writeGroupDouble
void QgsDxfExport::writeGroup ( int  code,
const QString &  s 
)
void QgsDxfExport::writeGroupCode ( int  code)
void QgsDxfExport::writeInt ( int  i)
void QgsDxfExport::writeLine ( const QgsPoint pt1,
const QgsPoint pt2,
const QString &  layer,
const QString &  lineStyleName,
int  color,
double  width = -1 
)
void QgsDxfExport::writePoint ( const QString &  layer,
int  color,
const QgsPoint pt 
)
void QgsDxfExport::writePolyline ( const QgsPolyline line,
const QString &  layer,
const QString &  lineStyleName,
int  color,
double  width = -1,
bool  polygon = false 
)
void QgsDxfExport::writeSolid ( const QString &  layer,
int  color,
const QgsPoint pt1,
const QgsPoint pt2,
const QgsPoint pt3,
const QgsPoint pt4 
)
void QgsDxfExport::writeString ( const QString &  s)
void QgsDxfExport::writeText ( const QString &  layer,
const QString &  text,
const QgsPoint pt,
double  size,
double  angle,
int  color 
)
int QgsDxfExport::writeToFile ( QIODevice *  d)

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