Skip to content

Commit

Permalink
Fix incorrect docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 21, 2024
1 parent c9615b6 commit bef93c5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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
6 changes: 3 additions & 3 deletions src/core/qgsmaptopixel.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand All @@ -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.
Expand Down

0 comments on commit bef93c5

Please sign in to comment.