Skip to content
Permalink
Browse files

update dxf sip bindings

  • Loading branch information
jef-n committed Sep 21, 2016
1 parent 39afdbc commit d9358e728c0b3bcd0dc015bc477c465a58acd366
Showing with 14 additions and 2 deletions.
  1. +14 −2 python/core/dxf/qgsdxfexport.sip
@@ -72,6 +72,16 @@ class QgsDxfExport
*/
QGis::UnitType mapUnits() const;

/**
* Set destination CRS
*/
void setDestinationCrs( long crs );

/**
* Set destination CRS
*/
long destinationCrs();

/**
* Set symbology export mode
* @param e the mode
@@ -227,8 +237,9 @@ class QgsDxfExport
* @param lineStyleName line type to use
* @param color color to use
* @param width line width to use
* @deprecated use QgsPointSequenceV2 variant
*/
void writePolyline( const QgsPolyline &line, const QString &layer, const QString &lineStyleName, const QColor& color, double width = -1 );
void writePolyline( const QgsPolyline &line, const QString &layer, const QString &lineStyleName, const QColor& color, double width = -1 ) /Deprecated/;

/**
* Draw dxf primitives (LWPOLYLINE)
@@ -276,7 +287,8 @@ class QgsDxfExport
void writeSolid( const QString &layer, const QColor& color, const QgsPoint &pt1, const QgsPoint &pt2, const QgsPoint &pt3, const QgsPoint &pt4 ) /Deprecated/;

//! Write line (as a polyline)
void writeLine( const QgsPoint &pt1, const QgsPoint &pt2, const QString &layer, const QString &lineStyleName, const QColor& color, double width = -1 );
//! @deprecated use QgsPointV2 version
void writeLine( const QgsPoint &pt1, const QgsPoint &pt2, const QString &layer, const QString &lineStyleName, const QColor& color, double width = -1 ) /Deprecated/;

//! Write line (as a polyline)
//! @note added in 2.15

0 comments on commit d9358e7

Please sign in to comment.