Skip to content

Commit

Permalink
Use center argument for make_circle and make_ellipse functions
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ authored and nyalldawson committed Aug 15, 2020
1 parent e95e1be commit 3bce2d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/expression/qgsexpressionfunction.cpp
Expand Up @@ -6068,12 +6068,12 @@ const QList<QgsExpressionFunction *> &QgsExpression::Functions()
<< QgsExpressionFunction::Parameter( QStringLiteral( "point3" ) ),
fcnMakeTriangle, QStringLiteral( "GeometryGroup" ) )
<< new QgsStaticExpressionFunction( QStringLiteral( "make_circle" ), QgsExpressionFunction::ParameterList()
<< QgsExpressionFunction::Parameter( QStringLiteral( "geometry" ) )
<< QgsExpressionFunction::Parameter( QStringLiteral( "center" ) )
<< QgsExpressionFunction::Parameter( QStringLiteral( "radius" ) )
<< QgsExpressionFunction::Parameter( QStringLiteral( "segments" ), true, 36 ),
fcnMakeCircle, QStringLiteral( "GeometryGroup" ) )
<< new QgsStaticExpressionFunction( QStringLiteral( "make_ellipse" ), QgsExpressionFunction::ParameterList()
<< QgsExpressionFunction::Parameter( QStringLiteral( "geometry" ) )
<< QgsExpressionFunction::Parameter( QStringLiteral( "center" ) )
<< QgsExpressionFunction::Parameter( QStringLiteral( "semi_major_axis" ) )
<< QgsExpressionFunction::Parameter( QStringLiteral( "semi_minor_axis" ) )
<< QgsExpressionFunction::Parameter( QStringLiteral( "azimuth" ) )
Expand Down

0 comments on commit 3bce2d1

Please sign in to comment.