@@ -78,15 +78,15 @@ class CORE_EXPORT QgsDxfExport
78
78
79
79
int writeHandle ( int code = 5 , int handle = 0 );
80
80
81
- // draw dxf primitives
81
+ // ! draw dxf primitives
82
82
void writePolyline ( const QgsPolyline &line, const QString &layer, const QString &lineStyleName, QColor color,
83
83
double width = -1 , bool polygon = false );
84
84
85
85
void writePolygon ( const QgsPolygon &polygon, const QString &layer, const QString &hatchPattern, QColor color );
86
86
87
87
void writeSolid ( const QString &layer, QColor color, const QgsPoint &pt1, const QgsPoint &pt2, const QgsPoint &pt3, const QgsPoint &pt4 );
88
88
89
- // write line (as a polyline)
89
+ // ! write line (as a polyline)
90
90
void writeLine ( const QgsPoint &pt1, const QgsPoint &pt2, const QString &layer, const QString &lineStyleName, QColor color, double width = -1 );
91
91
92
92
void writePoint ( const QString &layer, QColor color, const QgsPoint &pt );
@@ -101,8 +101,13 @@ class CORE_EXPORT QgsDxfExport
101
101
102
102
static double mapUnitScaleFactor ( double scaleDenominator, QgsSymbolV2::OutputUnit symbolUnits, QGis::UnitType mapUnits );
103
103
104
+ // ! return cleaned layer name for use in DXF
104
105
static QString dxfLayerName ( const QString &name );
106
+
107
+ // ! return DXF encoding for Qt encoding
105
108
static QString dxfEncoding ( const QString &name );
109
+
110
+ // ! return list of available DXF encodings
106
111
static QStringList encodings ();
107
112
108
113
private:
0 commit comments