From bef93c55298bf4f87d2248168c1ee462d437643d 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 486cdfc5d28c..03c85b90b7a4 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 486cdfc5d28c..03c85b90b7a4 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 d35b55e52321..837d1c4d6782 100644 --- a/src/core/qgsmaptopixel.h +++ b/src/core/qgsmaptopixel.h @@ -116,7 +116,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. @@ -160,7 +160,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. @@ -178,7 +178,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.