Skip to content

Commit cdee3b5

Browse files
committed
Document function arguments
1 parent 69ec725 commit cdee3b5

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

python/core/dxf/qgsdxfexport.sip

+4-1
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,10 @@ class QgsDxfExport
376376
void writeMText( const QString &layer, const QString &text, const QgsPointV2 &pt, double width, double angle, const QColor& color );
377377

378378
/** Returns scale factor for conversion to map units
379-
@param mapUnitsPerPixel Map units per pixel*/
379+
* @param scaleDenominator the map scale denominator
380+
* @param symbolUnits the symbol output units
381+
* @param mapUnits the map units
382+
* @param mapUnitsPerPixel Map units per pixel*/
380383
static double mapUnitScaleFactor( double scaleDenominator, QgsSymbolV2::OutputUnit symbolUnits, QGis::UnitType mapUnits, double mapUnitsPerPixel = 1.0 );
381384
/** Clips value to scale minimum/maximum
382385
@param value the value to clip

src/core/dxf/qgsdxfexport.h

+4-1
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,10 @@ class CORE_EXPORT QgsDxfExport
403403
void writeMText( const QString &layer, const QString &text, const QgsPointV2 &pt, double width, double angle, const QColor& color );
404404

405405
/** Returns scale factor for conversion to map units
406-
@param mapUnitsPerPixel Map units per pixel*/
406+
* @param scaleDenominator the map scale denominator
407+
* @param symbolUnits the symbol output units
408+
* @param mapUnits the map units
409+
* @param mapUnitsPerPixel Map units per pixel*/
407410
static double mapUnitScaleFactor( double scaleDenominator, QgsSymbolV2::OutputUnit symbolUnits, QGis::UnitType mapUnits, double mapUnitsPerPixel = 1.0 );
408411
/** Clips value to scale minimum/maximum
409412
@param value the value to clip

0 commit comments

Comments
 (0)