Skip to content

Commit

Permalink
Document function arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Apr 19, 2018
1 parent 69ec725 commit cdee3b5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion python/core/dxf/qgsdxfexport.sip
Expand Up @@ -376,7 +376,10 @@ class QgsDxfExport
void writeMText( const QString &layer, const QString &text, const QgsPointV2 &pt, double width, double angle, const QColor& color );

/** Returns scale factor for conversion to 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, QgsSymbolV2::OutputUnit symbolUnits, QGis::UnitType mapUnits, double mapUnitsPerPixel = 1.0 );
/** Clips value to scale minimum/maximum
@param value the value to clip
Expand Down
5 changes: 4 additions & 1 deletion src/core/dxf/qgsdxfexport.h
Expand Up @@ -403,7 +403,10 @@ class CORE_EXPORT QgsDxfExport
void writeMText( const QString &layer, const QString &text, const QgsPointV2 &pt, double width, double angle, const QColor& color );

/** Returns scale factor for conversion to 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, QgsSymbolV2::OutputUnit symbolUnits, QGis::UnitType mapUnits, double mapUnitsPerPixel = 1.0 );
/** Clips value to scale minimum/maximum
@param value the value to clip
Expand Down

0 comments on commit cdee3b5

Please sign in to comment.