Skip to content
Permalink
Browse files

\param instead of @param

  • Loading branch information
mhugent authored and nyalldawson committed Jun 17, 2018
1 parent 1749e5d commit 49cce292680952c31b53ce22316e22e748014d67
Showing with 24 additions and 19 deletions.
  1. +9 −7 python/core/auto_generated/dxf/qgsdxfexport.sip.in
  2. +15 −12 src/core/dxf/qgsdxfexport.h
@@ -400,18 +400,20 @@ Write mtext (MTEXT)
static double mapUnitScaleFactor( double scaleDenominator, QgsUnitTypes::RenderUnit symbolUnits, QgsUnitTypes::DistanceUnit mapUnits, double mapUnitsPerPixel = 1.0 );
%Docstring
Returns scale factor for conversion to map units
@param scaleDenominator the map scale denominator
@param symbolUnits the symbol output units
@param mapUnits the map units
@param mapUnitsPerPixel Map units per pixel*

:param scaleDenominator: the map scale denominator
:param symbolUnits: the symbol output units
:param mapUnits: the map units
:param mapUnitsPerPixel: Map units per pixel
%End

void clipValueToMapUnitScale( double &value, const QgsMapUnitScale &scale, double pixelToMMFactor ) const;
%Docstring
Clips value to scale minimum/maximum
@param value the value to clip
@param scale the scale dependent minimum/maximum values
@param pixelToMMFactor pixels per mm*

:param value: the value to clip
:param scale: the scale dependent minimum/maximum values
:param pixelToMMFactor: pixels per mm
%End

static QString dxfLayerName( const QString &name );
@@ -386,17 +386,19 @@ class CORE_EXPORT QgsDxfExport

/**
* Returns scale factor for conversion to map units
* @param scaleDenominator the map scale denominator
* @param symbolUnits the symbol output units
* @param mapUnits the map units
* @param mapUnitsPerPixel Map units per pixel*/
* \param scaleDenominator the map scale denominator
* \param symbolUnits the symbol output units
* \param mapUnits the map units
* \param mapUnitsPerPixel Map units per pixel
*/
static double mapUnitScaleFactor( double scaleDenominator, QgsUnitTypes::RenderUnit symbolUnits, QgsUnitTypes::DistanceUnit mapUnits, double mapUnitsPerPixel = 1.0 );

/**
* Clips value to scale minimum/maximum
* @param value the value to clip
* @param scale the scale dependent minimum/maximum values
* @param pixelToMMFactor pixels per mm*/
* \param value the value to clip
* \param scale the scale dependent minimum/maximum values
* \param pixelToMMFactor pixels per mm
*/
void clipValueToMapUnitScale( double &value, const QgsMapUnitScale &scale, double pixelToMMFactor ) const;

//! Returns cleaned layer name for use in DXF
@@ -465,11 +467,12 @@ class CORE_EXPORT QgsDxfExport

/**
* Writes geometry generator symbol layer
@param ctx the symbol render context
@param ct the coordinate transform
@param layer the layer name
@param symbolLayer the symbollayer to write to the dxf file
@param allSymbolLayers if true, all symbol layers of the subsymbol are writeen. If false, only the first one is written*/
* \param ctx the symbol render context
* \param ct the coordinate transform
* \param layer the layer name
* \param symbolLayer the symbollayer 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 addFeature( QgsSymbolRenderContext &ctx, const QgsCoordinateTransform &ct, const QString &layer, const QgsSymbolLayer *symbolLayer, const QgsSymbol *symbol );

0 comments on commit 49cce29

Please sign in to comment.
You can’t perform that action at this time.