QGIS API Documentation
2.6.0-Brighton
|
#include <qgsdxfexport.h>
Public Types | |
enum | SymbologyExport { NoSymbology = 0, FeatureSymbology, SymbolLayerSymbology } |
Public Member Functions | |
QgsDxfExport () | |
QgsDxfExport (const QgsDxfExport &dxfExport) | |
~QgsDxfExport () | |
QgsDxfExport & | operator= (const QgsDxfExport &dxfExport) |
void | addLayers (const QList< QPair< QgsVectorLayer *, int > > &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 |
QString | layerName (const QString &id, const QgsFeature &f) 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 | writeGroup (int code, const QgsPoint &p, double z=0.0, bool skipz=false) |
void | writeGroup (QColor color, int exactMatch=62, int rgbCode=420, int tranparencyCode=440) |
int | writeHandle (int code=5, int handle=0) |
void | writePolyline (const QgsPolyline &line, const QString &layer, const QString &lineStyleName, QColor color, double width=-1, bool polygon=false) |
void | writePolygon (const QgsPolygon &polygon, const QString &layer, const QString &hatchPattern, QColor color) |
void | writeSolid (const QString &layer, QColor 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, QColor color, double width=-1) |
void | writePoint (const QString &layer, QColor color, const QgsPoint &pt) |
void | writeCircle (const QString &layer, QColor color, const QgsPoint &pt, double radius) |
void | writeText (const QString &layer, const QString &text, const QgsPoint &pt, double size, double angle, QColor color) |
void | writeMText (const QString &layer, const QString &text, const QgsPoint &pt, double width, double angle, QColor 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) |
QgsDxfExport::QgsDxfExport | ( | ) |
QgsDxfExport::QgsDxfExport | ( | const QgsDxfExport & | dxfExport | ) |
QgsDxfExport::~QgsDxfExport | ( | ) |
void QgsDxfExport::addLayers | ( | const QList< QPair< QgsVectorLayer *, int > > & | layers | ) |
|
static |
|
static |
|
inline |
QString QgsDxfExport::layerName | ( | const QString & | id, |
const QgsFeature & | f | ||
) | const |
|
inline |
|
static |
QgsDxfExport & QgsDxfExport::operator= | ( | const QgsDxfExport & | dxfExport | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void QgsDxfExport::writeCircle | ( | const QString & | layer, |
QColor | color, | ||
const QgsPoint & | pt, | ||
double | radius | ||
) |
void QgsDxfExport::writeDouble | ( | double | d | ) |
void QgsDxfExport::writeGroup | ( | int | code, |
int | i | ||
) |
void QgsDxfExport::writeGroup | ( | int | code, |
double | d | ||
) |
void QgsDxfExport::writeGroup | ( | int | code, |
const QString & | s | ||
) |
void QgsDxfExport::writeGroup | ( | int | code, |
const QgsPoint & | p, | ||
double | z = 0.0 , |
||
bool | skipz = false |
||
) |
void QgsDxfExport::writeGroup | ( | QColor | color, |
int | exactMatch = 62 , |
||
int | rgbCode = 420 , |
||
int | tranparencyCode = 440 |
||
) |
void QgsDxfExport::writeGroupCode | ( | int | code | ) |
int QgsDxfExport::writeHandle | ( | int | code = 5 , |
int | handle = 0 |
||
) |
void QgsDxfExport::writeInt | ( | int | i | ) |
void QgsDxfExport::writeLine | ( | const QgsPoint & | pt1, |
const QgsPoint & | pt2, | ||
const QString & | layer, | ||
const QString & | lineStyleName, | ||
QColor | color, | ||
double | width = -1 |
||
) |
void QgsDxfExport::writeMText | ( | const QString & | layer, |
const QString & | text, | ||
const QgsPoint & | pt, | ||
double | width, | ||
double | angle, | ||
QColor | color | ||
) |
void QgsDxfExport::writePoint | ( | const QString & | layer, |
QColor | color, | ||
const QgsPoint & | pt | ||
) |
void QgsDxfExport::writePolygon | ( | const QgsPolygon & | polygon, |
const QString & | layer, | ||
const QString & | hatchPattern, | ||
QColor | color | ||
) |
void QgsDxfExport::writePolyline | ( | const QgsPolyline & | line, |
const QString & | layer, | ||
const QString & | lineStyleName, | ||
QColor | color, | ||
double | width = -1 , |
||
bool | polygon = false |
||
) |
void QgsDxfExport::writeSolid | ( | const QString & | layer, |
QColor | 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, | ||
QColor | color | ||
) |
int QgsDxfExport::writeToFile | ( | QIODevice * | d | ) |