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 23, 2024
1 parent fc3e58b commit 69c73d3
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 @@ -98,7 +98,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 @@ -98,7 +98,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 @@ -120,7 +120,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 @@ -152,7 +152,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 69c73d3

Please sign in to comment.