Skip to content
Permalink
Browse files
Update src/core/qgsmaptopixel.h
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
  • Loading branch information
vcloarec and nyalldawson committed May 31, 2021
1 parent 9bc6d4d commit d471cc15933e18f411b5aa67d268aa543c516012
Showing with 3 additions and 3 deletions.
  1. +1 −1 python/core/auto_generated/qgsmaptopixel.sip.in
  2. +2 −2 src/core/qgsmaptopixel.h
@@ -183,7 +183,7 @@ Set parameters for use in transforming coordinates

.. 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
%End
@@ -238,7 +238,7 @@ class CORE_EXPORT QgsMapToPixel
* \param heightPixels Output height, in pixels
* \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
*/
void setParameters( double mapUnitsPerPixel, double centerX, double centerY, int widthPixels, int heightPixels, double rotation );
@@ -251,7 +251,7 @@ class CORE_EXPORT QgsMapToPixel
* \param widthPixels Output width, in pixels
* \param heightPixels Output height, in pixels
* \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
*/

0 comments on commit d471cc1

Please sign in to comment.