From c817a6296a23691b4db0203e62ed92edfee177db Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Mon, 15 Jul 2024 17:53:23 +1000 Subject: [PATCH] Fix incorrect docs --- python/PyQt6/core/auto_generated/qgsmaptopixel.sip.in | 2 +- python/core/auto_generated/qgsmaptopixel.sip.in | 2 +- src/core/qgsmaptopixel.h | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/python/PyQt6/core/auto_generated/qgsmaptopixel.sip.in b/python/PyQt6/core/auto_generated/qgsmaptopixel.sip.in index db22d7b7b26e..aa7629778103 100644 --- a/python/PyQt6/core/auto_generated/qgsmaptopixel.sip.in +++ b/python/PyQt6/core/auto_generated/qgsmaptopixel.sip.in @@ -94,7 +94,7 @@ Transforms the point specified by x,y from map (world) coordinates to device coo void transformInPlace( double &x, double &y ) const; %Docstring -Transforms device coordinates to map coordinates. +Transforms map coordinates to device coordinates. This method modifies the given coordinates in place. It is intended as a fast way to do the transform. diff --git a/python/core/auto_generated/qgsmaptopixel.sip.in b/python/core/auto_generated/qgsmaptopixel.sip.in index db22d7b7b26e..aa7629778103 100644 --- a/python/core/auto_generated/qgsmaptopixel.sip.in +++ b/python/core/auto_generated/qgsmaptopixel.sip.in @@ -94,7 +94,7 @@ Transforms the point specified by x,y from map (world) coordinates to device coo void transformInPlace( double &x, double &y ) const; %Docstring -Transforms device coordinates to map coordinates. +Transforms map coordinates to device coordinates. This method modifies the given coordinates in place. It is intended as a fast way to do the transform. diff --git a/src/core/qgsmaptopixel.h b/src/core/qgsmaptopixel.h index 09dae6441d1d..70a66ade8e83 100644 --- a/src/core/qgsmaptopixel.h +++ b/src/core/qgsmaptopixel.h @@ -118,7 +118,7 @@ class CORE_EXPORT QgsMapToPixel } /** - * Transforms device coordinates to map coordinates. + * Transforms map coordinates to device coordinates. * * This method modifies the given coordinates in place. It is intended as a fast way to do the * transform. @@ -132,7 +132,7 @@ class CORE_EXPORT QgsMapToPixel } /** - * Transforms device coordinates to map coordinates. + * Transforms map coordinates to device coordinates. * * This method modifies the given coordinates in place. It is intended as a fast way to do the * transform. @@ -150,7 +150,7 @@ class CORE_EXPORT QgsMapToPixel #ifndef SIP_RUN /** - * Transforms device coordinates to map coordinates. + * Transforms map coordinates to device coordinates. * * This method modifies the given coordinates in place. It is intended as a fast way to do the * transform.