Skip to content

Commit

Permalink
Dox++
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson authored and github-actions[bot] committed Jun 7, 2021
1 parent 6cd39a1 commit 53fe2d4
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions src/core/dxf/qgsdxfexport.h
Expand Up @@ -575,23 +575,26 @@ class CORE_EXPORT QgsDxfExport : public QgsLabelSink
void writeText( const QString &layer, const QString &text, pal::LabelPosition *label, const QgsPalLayerSettings &layerSettings, const QgsExpressionContext &expressionContext );

/**
* Writes geometry generator symbol layer
* \param ctx the symbol render context
* Writes geometry generator symbol layer.
*
* \param context the symbol render context, with the reference to the feature set
* \param ct coordinate transform from CRS of feature being added to destination DXF CRS
* \param layer the layer name
* \param symbolLayer the symbollayer to write to the dxf file
* \param symbolLayer the symbol layer to write to the dxf file
* \param allSymbolLayers if TRUE, all symbol layers of the subsymbol are written. If FALSE, only the first one is written
*/
void addGeometryGeneratorSymbolLayer( QgsSymbolRenderContext &ctx, const QgsCoordinateTransform &ct, const QString &layer, QgsSymbolLayer *symbolLayer, bool allSymbolLayers );
void addGeometryGeneratorSymbolLayer( QgsSymbolRenderContext &context, const QgsCoordinateTransform &ct, const QString &layer, QgsSymbolLayer *symbolLayer, bool allSymbolLayers );

/**
* \param ctx
* Writes a feature to the DXF file.
*
* \param context the symbol render context, with the reference to the feature set
* \param ct coordinate transform from CRS of feature being added to destination DXF CRS
* \param layer
* \param symbolLayer
* \param symbol
* \param layer the layer name
* \param symbolLayer the symbol layer to write to the dxf file
* \param symbol symbol associated with feature being added
*/
void addFeature( QgsSymbolRenderContext &ctx, const QgsCoordinateTransform &ct, const QString &layer, const QgsSymbolLayer *symbolLayer, const QgsSymbol *symbol );
void addFeature( QgsSymbolRenderContext &context, const QgsCoordinateTransform &ct, const QString &layer, const QgsSymbolLayer *symbolLayer, const QgsSymbol *symbol );

//returns dxf palette index from symbol layer color
static QColor colorFromSymbolLayer( const QgsSymbolLayer *symbolLayer, QgsSymbolRenderContext &ctx );
Expand Down

0 comments on commit 53fe2d4

Please sign in to comment.