Skip to content
Permalink
Browse files
Dxf export: fix linestyle export for simple line
  • Loading branch information
mhugent committed Jan 31, 2014
1 parent e846521 commit 6d942e59df4933b1f829279518989d95b6d80bda
Showing with 6 additions and 0 deletions.
  1. +5 −0 src/core/symbology-ng/qgslinesymbollayerv2.cpp
  2. +1 −0 src/core/symbology-ng/qgslinesymbollayerv2.h
@@ -426,6 +426,11 @@ QVector<qreal> QgsSimpleLineSymbolLayerV2::dxfCustomDashPattern( QgsSymbolV2::Ou
return mUseCustomDashPattern ? mCustomDashVector : QVector<qreal>() ;
}

Qt::PenStyle QgsSimpleLineSymbolLayerV2::dxfPenStyle() const
{
return mPenStyle;
}

double QgsSimpleLineSymbolLayerV2::dxfWidth( const QgsDxfExport& e, const QgsSymbolV2RenderContext& context ) const
{
double width = mWidth;
@@ -97,6 +97,7 @@ class CORE_EXPORT QgsSimpleLineSymbolLayerV2 : public QgsLineSymbolLayerV2
void setDrawInsidePolygon( bool drawInsidePolygon ) { mDrawInsidePolygon = drawInsidePolygon; }

QVector<qreal> dxfCustomDashPattern( QgsSymbolV2::OutputUnit& unit ) const;
Qt::PenStyle dxfPenStyle() const;

double dxfWidth( const QgsDxfExport& e, const QgsSymbolV2RenderContext& context ) const;
QColor dxfColor( const QgsSymbolV2RenderContext& context ) const;

0 comments on commit 6d942e5

Please sign in to comment.