Skip to content
Permalink
Browse files

Fix some comments

  • Loading branch information
nyalldawson committed Aug 5, 2016
1 parent 8773385 commit 70eec9fcaeefac90bdf76865eab6b669884c0e62
Showing with 2 additions and 26 deletions.
  1. +2 −2 src/core/symbology-ng/qgsfillsymbollayerv2.cpp
  2. +0 −24 src/core/symbology-ng/qgssymbol.h
@@ -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,
@@ -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 )
@@ -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.
You can’t perform that action at this time.