Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix some comments
  • Loading branch information
nyalldawson committed Aug 5, 2016
1 parent 8773385 commit 70eec9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 26 deletions.
4 changes: 2 additions & 2 deletions src/core/symbology-ng/qgsfillsymbollayerv2.cpp
Expand Up @@ -458,7 +458,7 @@ Qt::BrushStyle QgsSimpleFillSymbolLayerV2::dxfBrushStyle() const
return mBrushStyle;
}

//QgsGradientFillSymbolLayer
//QgsGradientFillSymbolLayerV2

QgsGradientFillSymbolLayerV2::QgsGradientFillSymbolLayerV2( const QColor& color, const QColor& color2,
GradientColorType colorType, GradientType gradientType,
Expand Down Expand Up @@ -944,7 +944,7 @@ QgsMapUnitScale QgsGradientFillSymbolLayerV2::mapUnitScale() const
return mOffsetMapUnitScale;
}

//QgsShapeburstFillSymbolLayer
//QgsShapeburstFillSymbolLayerV2

QgsShapeburstFillSymbolLayerV2::QgsShapeburstFillSymbolLayerV2( const QColor& color, const QColor& color2, ShapeburstColorType colorType,
int blurRadius, bool useWholeShape, double maxDistance )
Expand Down
24 changes: 0 additions & 24 deletions src/core/symbology-ng/qgssymbol.h
Expand Up @@ -696,27 +696,3 @@ class CORE_EXPORT QgsFillSymbolV2 : public QgsSymbol

#endif


/*
QgsSymbol* ps = new QgsPointSymbol();
// ----
sl = QgsSymbolLayerRegistry::instance()->createSymbolLayer("SimpleLine", { "color", "..." })
// (or)
sl = QgsSymbolLayerRegistry::defaultSymbolLayer(QgsSymbol::Line)
// (or)
QgsSymbolLayer* sl = new QgsSimpleLineSymbolLayer(x,y,z);
QgsLineSymbol* s = new LineSymbol( [ sl ] );
// ----
rend = QgsSingleSymbolRenderer( new LineSymbol() );
*/


0 comments on commit 70eec9f

Please sign in to comment.