Skip to content

Commit ca86be7

Browse files
committed
dxf export: doxyment more methods
1 parent d9a1654 commit ca86be7

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/core/dxf/qgsdxfexport.h

+7-2
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,15 @@ class CORE_EXPORT QgsDxfExport
7878

7979
int writeHandle( int code = 5, int handle = 0 );
8080

81-
//draw dxf primitives
81+
//! draw dxf primitives
8282
void writePolyline( const QgsPolyline &line, const QString &layer, const QString &lineStyleName, QColor color,
8383
double width = -1, bool polygon = false );
8484

8585
void writePolygon( const QgsPolygon &polygon, const QString &layer, const QString &hatchPattern, QColor color );
8686

8787
void writeSolid( const QString &layer, QColor color, const QgsPoint &pt1, const QgsPoint &pt2, const QgsPoint &pt3, const QgsPoint &pt4 );
8888

89-
//write line (as a polyline)
89+
//! write line (as a polyline)
9090
void writeLine( const QgsPoint &pt1, const QgsPoint &pt2, const QString &layer, const QString &lineStyleName, QColor color, double width = -1 );
9191

9292
void writePoint( const QString &layer, QColor color, const QgsPoint &pt );
@@ -101,8 +101,13 @@ class CORE_EXPORT QgsDxfExport
101101

102102
static double mapUnitScaleFactor( double scaleDenominator, QgsSymbolV2::OutputUnit symbolUnits, QGis::UnitType mapUnits );
103103

104+
//! return cleaned layer name for use in DXF
104105
static QString dxfLayerName( const QString &name );
106+
107+
//! return DXF encoding for Qt encoding
105108
static QString dxfEncoding( const QString &name );
109+
110+
//! return list of available DXF encodings
106111
static QStringList encodings();
107112

108113
private:

0 commit comments

Comments
 (0)