Skip to content
Permalink
Browse files

dxf export: doxyment more methods

  • Loading branch information
jef-n committed Feb 15, 2015
1 parent d9a1654 commit ca86be7855a12ae2a53519f6226d5d78853de3a9
Showing with 7 additions and 2 deletions.
  1. +7 −2 src/core/dxf/qgsdxfexport.h
@@ -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 );
@@ -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:

0 comments on commit ca86be7

Please sign in to comment.
You can’t perform that action at this time.