mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Update src/core/qgsmaptopixel.h
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
This commit is contained in:
parent
9bc6d4df5a
commit
d471cc1593
@ -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
|
||||||
|
@ -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 );
|
||||||
@ -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
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user