Skip to content

Commit

Permalink
Fix incorrect docs
Browse files Browse the repository at this point in the history
(cherry picked from commit bef93c5)
  • Loading branch information
nyalldawson committed Jul 22, 2024
1 parent 0f51f23 commit da1fb99
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion python/PyQt6/core/auto_generated/qgsmaptopixel.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion python/core/auto_generated/qgsmaptopixel.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions src/core/qgsmaptopixel.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit da1fb99

Please sign in to comment.