Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
dxf export: doxyment more methods
  • Loading branch information
jef-n committed Feb 15, 2015
1 parent d9a1654 commit ca86be7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/core/dxf/qgsdxfexport.h
Expand Up @@ -78,15 +78,15 @@ class CORE_EXPORT QgsDxfExport

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

//draw dxf primitives
//! draw dxf primitives
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 );

//write line (as a polyline)
//! write line (as a polyline)
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 );
Expand All @@ -101,8 +101,13 @@ class CORE_EXPORT QgsDxfExport

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

//! return cleaned layer name for use in DXF
static QString dxfLayerName( const QString &name );

//! return DXF encoding for Qt encoding
static QString dxfEncoding( const QString &name );

//! return list of available DXF encodings
static QStringList encodings();

private:
Expand Down

0 comments on commit ca86be7

Please sign in to comment.