Skip to content

Commit

Permalink
Update src/core/qgsmaptopixel.h
Browse files Browse the repository at this point in the history
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
  • Loading branch information
vcloarec and nyalldawson committed May 31, 2021
1 parent 9bc6d4d commit d471cc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/core/auto_generated/qgsmaptopixel.sip.in
Expand Up @@ -183,7 +183,7 @@ Set parameters for use in transforming coordinates


.. note:: .. note::


if parameters leads to a non valid transform, parameters are not changed if the specified parameters result in an invalid transform then no changes will be applied to the object


.. versionadded:: 2.8 .. versionadded:: 2.8
%End %End
Expand Down
4 changes: 2 additions & 2 deletions src/core/qgsmaptopixel.h
Expand Up @@ -238,7 +238,7 @@ class CORE_EXPORT QgsMapToPixel
* \param heightPixels Output height, in pixels * \param heightPixels Output height, in pixels
* \param rotation clockwise rotation in degrees * \param rotation clockwise rotation in degrees
* *
* \note if parameters leads to a non valid transform, parameters are not changed * \note if the specified parameters result in an invalid transform then no changes will be applied to the object
* \since QGIS 2.8 * \since QGIS 2.8
*/ */
void setParameters( double mapUnitsPerPixel, double centerX, double centerY, int widthPixels, int heightPixels, double rotation ); void setParameters( double mapUnitsPerPixel, double centerX, double centerY, int widthPixels, int heightPixels, double rotation );
Expand All @@ -251,7 +251,7 @@ class CORE_EXPORT QgsMapToPixel
* \param widthPixels Output width, in pixels * \param widthPixels Output width, in pixels
* \param heightPixels Output height, in pixels * \param heightPixels Output height, in pixels
* \param rotation clockwise rotation in degrees * \param rotation clockwise rotation in degrees
* \param ok will be set to true if parameters leads to a valid transform, otherwise parameters are not changed and ok will be set to false * \param ok will be set to TRUE if the specified parameters result in a valid transform, otherwise the changes are ignored and ok will be set to FALSE.
* *
* \since QGIS 3.20 * \since QGIS 3.20
*/ */
Expand Down

0 comments on commit d471cc1

Please sign in to comment.